About the JavaScript reference - JavaScript 编辑
The JavaScript reference serves as a repository of facts about the JavaScript language. The entire language is described here in detail. As you write JavaScript code, you'll refer to these pages often (thus the title "JavaScript reference"). If you're learning JavaScript, or need help understanding some of its capabilities or features, check out the JavaScript guide.
The JavaScript language is intended to be used within some larger environment, be it a browser, server-side scripts, or similar. For the most part, this reference attempts to be environment-agnostic and does not target a web browser environment.
Where to find JavaScript information
JavaScript documentation of core language features (pure ECMAScript, for the most part) includes the following:
If you are new to JavaScript, start with the guide. Once you have a firm grasp of the fundamentals, you can use the reference to get more details on individual objects and language constructs.
Structure of the reference
In the JavaScript reference you can find the following chapters:
- Standard built-in objects
- This chapter documents all the JavaScript standard built-in objects, along with their methods and properties.
- Statements and declarations
- JavaScript applications consist of statements with an appropriate syntax. A single statement may span multiple lines. Multiple statements may occur on a single line if each statement is separated by a semicolon. This isn't a keyword, but a group of keywords.
- Expressions and operators
- This chapter documents all the JavaScript language operators, expressions and keywords.
- Functions
- Chapter about JavaScript functions.
- Classes
- Chapter about JavaScript classes introduced in ECMAScript 2015.
- Errors
- Chapter about specific errors, exceptions and warnings thrown by JavaScript.
- New in JavaScript
- Chapter about JavaScript version history.
More reference pages
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论