• 做一个幸福的人,读书,旅行,努力工作,关心身体和心情。
  • 不管有没有人爱,也要努力做一个可爱的人。不埋怨谁,不嘲笑谁,也不羡慕谁,阳光下灿烂,风雨中奔跑,做自己的梦,走自己的路。

JavaScript MDN 学习指南

编程 lcq 1年前 (2017-09-24) 729次浏览 0个评论

快速入门

JavaScript 基础知识 JavaScript first steps JavaScript building blocks
Introducing JavaScript objects    

JavaScript 指南

Introduction Grammar and types Control flow and error handling
Loops and iteration Functions Expressions and operators
Numbers and dates Text formatting Regular expressions
Indexed collections Keyed collections Working with objects
Details of the object model Iterators and generators Meta programming

中级教程

深入 JavaScript JavaScript 数据结构 如何正确判断相等性
Closures    

高级

继承和原型链 严格模式 JavaScript 类型化数组
SIMD types 内存管理 Concurrency model and Event Loop

内置对象

Array ArrayBuffer AsyncFunction
Atomics Boolean DataView
Date Error EvalError
Float32Array Float64Array Function
Generator GeneratorFunction Infinity
Int16Array Int32Array Int8Array
InternalError Intl Intl.Collator
Intl.DateTimeFormat Intl.NumberFormat Iterator
JSON Map Math
NaN Number Object
Promise Proxy RangeError
ReferenceError Reflect RegExp
SIMD SIMD.Bool16x8 SIMD.Bool32x4[我来译!]
SIMD.Bool64x2[我来译!] SIMD.Bool8x16[我来译!] SIMD.Float32x4[我来译!]
SIMD.Float64x2[我来译!] SIMD.Int16x8[我来译!] SIMD.Int32x4[我来译!]
SIMD.Int8x16[我来译!] SIMD.Uint16x8[我来译!] SIMD.Uint32x4[我来译!]
SIMD.Uint8x16[我来译!] Set SharedArrayBuffer
String Symbol SyntaxError
TypeError TypedArray URIError[我来译!]
Uint16Array[我来译!] Uint32Array Uint8Array
Uint8ClampedArray WeakMap WeakSet
WebAssembly decodeURI() decodeURIComponent()
encodeURI() encodeURIComponent() escape()
eval() isFinite() isNaN()
null parseFloat parseInt
undefined unescape() uneval()

表达式和运算符

算术运算符 数组推导式 赋值运算符
按位操作符 逗号操作符 比较操作符
条件运算符 解构赋值 Expression closures
Generator推导式 圆括号运算符 旧式生成器函数
逻辑运算符 Object initializer 运算符优先级
Property accessors 扩展语句 async function expression
await 类表达式 delete
函数表达式 function* expression in
instanceof new运算符 new.target
super this typeof
void 运算符 yield yield*

语句和声明

遗留的生成器函数 async function block
break class const
continue debugger default
do…while empty export
for for each…in for…in
for…of function function*
if…else import label
let return switch
throw try…catch var
while with  

函数

arguments 箭头函数 默认参数值
方法的定义 剩余参数 getter
setter    

Classes

构造方法 extends static

Errors

Error: Permission denied to access property “x” InternalError: too much recursion RangeError: argument is not a valid code point
RangeError: invalid array length RangeError: invalid date RangeError: precision is out of range
RangeError: radix must be an integer RangeError: repeat count must be less than infinity RangeError: repeat count must be non-negative
ReferenceError: “x” is not defined ReferenceError: assignment to undeclared variable “x” ReferenceError: can’t access lexical declaration`X’ before initialization
ReferenceError: deprecated caller or arguments usage ReferenceError: invalid assignment left-hand side ReferenceError: reference to undefined property “x”
SyntaxError: “0”-prefixed octal literals and octal escape seq. are deprecated SyntaxError: “use strict” not allowed in function with non-simple parameters SyntaxError: “x” is a reserved identifier
SyntaxError: JSON.parse: bad parsing SyntaxError: Malformed formal parameter SyntaxError: Unexpected token
SyntaxError: Using //@ to indicate sourceURL pragmas is deprecated. Use //# instead SyntaxError: a declaration in the head of a for-of loop can’t have an initializer SyntaxError: applying the ‘delete’ operator to an unqualified name is deprecated
SyntaxError: for-in loop head declarations may not have initializers SyntaxError: function statement requires a name SyntaxError: identifier starts immediately after numeric literal
SyntaxError: illegal character SyntaxError: invalid regular expression flag “x” SyntaxError: missing ) after argument list
SyntaxError: missing ) after condition SyntaxError: missing : after property id SyntaxError: missing ; before statement
SyntaxError: missing = in const declaration SyntaxError: missing ] after element list SyntaxError: missing formal parameter
SyntaxError: missing name after . operator SyntaxError: missing variable name SyntaxError: missing } after function body
SyntaxError: missing } after property list SyntaxError: redeclaration of formal parameter “x” SyntaxError: return not in function
SyntaxError: test for equality (==) mistyped as assignment (=)? SyntaxError: unterminated string literal TypeError: “x” has no properties
TypeError: “x” is (not) “y” TypeError: “x” is not a constructor TypeError: “x” is not a function
TypeError: “x” is not a non-null object TypeError: “x” is read-only TypeError: More arguments needed
TypeError: can’t access dead object TypeError: can’t define property “x”: “obj” is not extensible TypeError: can’t delete non-configurable array element
TypeError: can’t redefine non-configurable property “x” TypeError: cyclic object value TypeError: invalid ‘in’ operand “x”
TypeError: invalid Array.prototype.sort argument TypeError: invalid arguments TypeError: invalid assignment to const “x”
TypeError: property “x” is non-configurable and can’t be deleted TypeError: setting getter-only property “x” TypeError: variable “x” redeclares argument
URIError: malformed URI sequence Warning: -file- is being assigned a //# sourceMappingURL, but already has one SyntaxError: “x” is not a legal ECMA-262 octal constant
Warning: Date.prototype.toLocaleFormat is deprecated Warning: JavaScript 1.6’s for-each-in loops are deprecated Warning: String.x is deprecated; use String.prototype.x instead
Warning: expression closures are deprecated Warning: unreachable code after return statement X.prototype.y called on incompatible type

更多

JavaScript 知识概要 词法文法 JavaScript 数据结构
属性的可枚举性和所有权 Iteration protocols 严格模式
切换到严格模式 模板字符串 已废弃的特性

New in JavaScript

Mozilla对ECMAScript 6的支持 ECMAScript 5 support in Mozilla Mozilla对下一代ECMAScript 的支持
Firefox中的JavaScript更新日志 JavaScript 1.1的新特性 JavaScript 1.2的新特性
JavaScript 1.3的新特性 JavaScript 1.4的新特性 JavaScript 1.5 的新特性
JavaScript 1.6 的新特性 JavaScript 1.7 的新特性 New in JavaScript 1.8
JavaScript 1.8.1 的新特性 JavaScript 1.8.5 的新特性  

常用列表

全部页面索引 方法索引 属性索引
拥有 “JavaScript” 标签的页面    

贡献

JavaScript 文档翻译状态 MDN 项目  

乐趣公园 , 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权 , 转载请注明JavaScript MDN 学习指南
喜欢 (0)
发表我的评论
取消评论

表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址