JavaScript English Vocabulary Glossary
This article presents a detailed glossary of common JavaScript English keywords, objects, methods, and properties with their Chinese translations, organized into two comprehensive tables to help developers quickly understand and reference essential JavaScript terminology.
This article presents a detailed glossary of common JavaScript English keywords, objects, methods, and properties with their Chinese translations, organized into two comprehensive tables to help developers quickly understand and reference essential JavaScript terminology. var 定义变量 if 如果 else 否则 switch 切换 for 循环 while 当...的时候 do 做 break 中断 continue 继续 function 函数,功能 return 返回 number 数字 int 整数 float 浮点数 string 字符串 bool 布尔 boolean 布尔 typeof 类型 null 空,空值 array 数组 length 长度 concat 连接 join 串联 pop 弹出 push 压入 reverse 反转 sort 排序 slice 切片,划分 splice 铰接,粘接 charAt 获取某位置字符 indexOf 判断某字符的首次位置 lastIndexOf 判断某字符的最后一次位置 replace 替换 split 分割 substr 截取字符串 substring 截取字符串 toLowerCase 转换为小写 toUpperCase 转换为大写 random 随机 round 取整 ceil 向上取整 floor 向下取整 abs 取绝对值 max 最大值 min 最小值 pow 幂运算 sqrt 取开方 new 新建 date 日期 time 时间 year 年 month 月 hour 时 minute 分 second 秒 millisecond 毫秒 status 状态 alert 警告 confirm 确认 prompt 提示,提示符 open 打开 setInterval 设置反复性定时器 setTimeout 设置一次性定时器 clear 清除 close 关闭 back 后退 width 宽度 height 高度 appName 程序名 appCodeName 程序代号 appVersion 程序版本 appAgent 程序代理
clientX clientY srcElement源对象,事件 cancel 取消 bubble 冒泡 keyCode 键值 this 这个,当前 onload 在装载时 onclick 在点击时 ondblclick 在双击时 onmouseover 在鼠标进入时 onmouseout 在鼠标离开时 onmousemove 在鼠标移动时 onmousedown 在鼠标按下时 onmouseup 在鼠标抬起时 onkeydown 在按键按下时 onkeyup 在按键抬起时 onkeypress 在按键时 onsubmit 在提交时 onchange 在改变时 onfocus 在获得焦点时 onblur 在失去焦点时 document 文档 write 写入 getElementById 通过ID获取对象 element 元素,对象 option 选项 attribute 属性 child 孩子,下级 parent 父母,上级 node 节点 first 第一个 last 最后一个 next 下一个 previous 上一个 create 创建 append 附加
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
php Courses
php中文网's platform for the latest courses and technical articles, helping PHP learners advance quickly.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
