JavaScript
网页的语言。让程序动起来 —— 直接在你的浏览器里运行。
- javascript
- 18 课程
- 15 videos
- 在浏览器中运行
此设备:完成 0 / 18 门课程
每节课均在浏览器中运行——编写真实代码,点击运行,任务自动检查。免费,无需账户,配有与英文对照的翻译笔记。
本课程中的课程
显示 22 / 22 门课程
没有找到匹配的课程。请清除搜索条件或选择其他筛选器。
- console.log 与注释 The language of the web · Print text, numbers, or both Lesson 1 · 3 项必做任务 · ★ 视频
- 变量 — let 与 const A variable is a named box · Change a let with a new value Lesson 2 · 3 项必做任务 · ★ 视频
- 数字与数学运算 Maths like a calculator · Remainder and powers · Order of operations Lesson 3 · 3 项必做任务 · ★ 视频
- 字符串 Strings are text · Mind the spaces · Length and capitals · Reach inside a string Lesson 4 · 4 项必做任务 · ★ 视频
- 模板字符串 A cleaner way to build strings · Any expression fits inside ${ } · Same string, two ways Lesson 5 · 3 项必做任务 · ★ 视频
- 布尔值与比较运算 True and false · Combine tests Lesson 6 · 4 项必做任务 · ★ 视频
- if / else Making decisions · Many paths with else if Lesson 7 · 3 项必做任务 · ★★ 视频
- for 循环 用 for 循环重复 · 累积一个总和 Lesson 8 · 3 项必做任务 · ★★ 视频
- while 循环 while repeats · Make progress every pass Lesson 9 · 3 项必做任务 · ★★ 视频
- 函数 Functions that just do something Lesson 10 · 3 项必做任务 · ★★ 视频
- 箭头函数 More than one parameter Lesson 11 · 3 项必做任务 · ★★ 视频
- 数组 Arrays hold lists · Add and remove items · Loop over an array Lesson 12 · 4 项必做任务 · ★★ 视频
- 数组方法 Filtering keeps some items · Trace the shared objects Lesson 13 · 4 项必做任务 · ★★★ 视频
- 对象 Objects group related data · Change or add a property Lesson 14 · 3 项必做任务 · ★★★ 视频
- 遍历对象 Visit every key of an object · Keys, values and entries as arrays Lesson 17 · 3 项必做任务 · ★★★
- switch switch picks a case · break ends the case Lesson 16 · 3 项必做任务 · ★★
- Errors, try and catch Errors stop a program · try and catch · throw your own error Lesson 18 · 3 项必做任务 · ★★★
- 整合 Searching and counting Lesson 15 · 3 项必做任务 · ★★★ 视频
阅读与资源
- JavaScript 简史 Born in ten days · Not the same as Java · One language everyone agrees on · JavaScript today 阅读与资源
- JavaScript 用来做什么 What people build with JavaScript · Interactive websites · Servers with Node.js · Apps, games, and more 阅读与资源
- 去哪里学更多 边玩边练 · 阅读与参考 · 本站更多内容 · 小提示 阅读与资源
- 在任何地方运行 JavaScript You already have everything · Try the browser console · For bigger projects · You are ready 阅读与资源
Open the Javascript reference
Every topic in one place, with short examples you can run.
深入学习入口
- JavaScript 讲义(本网站) 本课程所有主题汇总于一页,并附可运行的示例
- 网页基础 —— HTML 与 CSS(本站) 先搭好页面;JavaScript 让它动起来
- MDN —— JavaScript 每个网页开发者都用的参考手册