There was a scripting error on this page. While it is being addressed by site editors, you can view partial content below.

Our volunteers haven't translated this article into ไทย yet. Join us and help get the job done!
You can also read the article in English (US).

{{MDNSidebar}}
{{IncludeSubnav("/en-US/docs/MDN")}}

This page tries to track ongoing documentation work in the MDN JavaScript section. Feel free to contribute!

Summary

{{DocStatus('Web/JavaScript','[]', 'October 1, 2013', '[ { "keywords": ["dev-doc-needed"], "product": ["Core"], "component":["JavaScript Engine", "JavaScript: Standard Library", "JavaScript: Internationalization API"],"resolution":["FIXED", "INVALID", "WONTFIX", "DUPLICATE", "WORKSFORME", "INCOMPLETE", "SUPPORT", "MOVED", "EXPIRED"], "bug_status":["RESOLVED", "VERIFIED", "CLOSED"], "include_fields":["id", "target_milestone", "summary"], "order": "target_milestone desc", "whiteboard": "[DocArea=JS]" } ]','[ { "product": ["Developer Documentation"], "component":["JavaScript"],"resolution":["---"], "include_fields":["id", "summary"] } ]', '', '["JavaScript"]' )}}

Structure of the MDN JavaScript docs

Chapters of the MDN JavaScript section and their status
# Chapter Pages Priority Notes
0 Value & function properties in the global scope 16 1 Complete.
1 Object 40 1

Complete.

2 Function 14 1 Complete.
3 Array 38 1 Complete.
4 String 50 1 Complete.
5 Boolean 5 1 Complete.
6 Number 24 1

Complete.

7 Math 44 1 Complete.
8 Date 53 1 Complete.
9 RegExp 21 1 Complete.
10

Error
EvalError
InternalError
RangeError
ReferenceError
SyntaxError
TypeError
URIError

24 4 Complete.
11 JSON 3 1 Complete.
12 Intl
Intl.Collator
Intl.DateTimeFormat
Intl.NumberFormat
16 2 Complete.
13 Map 13 2 Complete.
14 WeakMap 7 2 Complete.
15 Set 11 2 Complete.
16 WeakSet 6 2 Complete.
17 Proxy 17 3 Complete.
18 Reflect 15 3 Complete.
19 Generator (legacy and ES2015)
Iterator
StopIteration
GeneratorFunction
8 2 Complete.
20 ArrayBuffer (6)
DataView (21)
TypedArray (34 [+ 3])
Float32Array
Float64Array
Int16Array
Int32Array
Int8Array
Uint16Array
Uint32Array
Uint8Array
Uint8ClampedArray
73 2 Missing pages:
  • 2 standard Array methods not yet implemented for TypedArrays (tracking bug 1071668).
21 Promise 8 1 Complete.
22 Symbol 9 2

Missing pages:

  • Well-known symbols
    • Symbol.hasInstance
    • Symbol.isConcatSpreadable
    • Symbol.replace
    • Symbol.search
    • Symbol.split
    • Symbol.unscopables
23 ParallelArray 1 5 Complete.
24 Atomics
SharedArrayBuffer
17 4 Preffed off. Spec in flux.
25 Expressions & Operators 29 1 Complete.
26 Statements & Declarations 27 1 Complete.
27 Functions 11 1

Complete.

28 Classes 4 1 Complete.
29 JavaScript Guide 15 1

 

  1. Introduction
  2. Grammar and types
  3. Control flow and error handling
  4. Loops and iteration
  5. Functions
  6. Expressions and operators
  7. Numbers and dates
  8. Text formatting
  9. Regular Expressions
  10. Indexed collections
  11. Keyed collections
  12. Working with objects
  13. Details of the object model
  14. Iterators and generators
  15. Meta programming
30 New in JavaScript 15 4

Complete.

31 JavaScript error reference 36 3 Explains error messages (v8, Chakra). So those people searching for errors will find guidance.
32 Articles/Tutorials/Misc 17
 
3

 

33 Meta pages 9 4

Other tasks to do

  • Go through Firefox release notes for developers and site compat notes and make sure JS changes are documented properly in the references.
  • Make sure our compat tables are up to date by also going through bug trackers of other open source browsers (e.g. WebKit, Blink)
  • Write a changelog for Chrome JavaScript releases like we have for Firefox. Same for other browsers/node.js?
  • Meta article about how to document in the JS MDN area.
  • Write more JavaScript error documentation: the list of errors which have no mdn pages link corresponds to SpiderMonkey error code which are reported to the devtool console which do not have any corresponding MDN pages.

Tagging standard

  • Pages in the JavaScript/ page tree should at least have the tag "JavaScript".
  • For methods belonging to an object, the name of the Object should be added (e.g. String.fromCharCode should have "String").
  • Methods should have "Method" and properties need a "Property" tag. All prototype members have the "prototype" tag.
  • Features added in a new ECMAScript version have the tags "ECMAScript6" and "ECMAScript 2015" or later versions/years.
  • The Experimental tag should only be used with new features where the standard is not yet finalized (e.g. in a strawman proposal) and the feature is in a Nightly version or behind a preference.
  • Features are Deprecated if their usage is discouraged and are Obsolete if they have been removed from engines.
  • If pages need any type of work, a "Needs*" tag should be added (see above).

Specifications

The following specifications are taken under consideration for this project:

Specification Status
{{SpecName("ES1")}} {{Spec2("ES1")}}
{{SpecName("ES3")}} {{Spec2("ES3")}}
{{SpecName("ES5.1")}} {{Spec2("ES5.1")}}
{{SpecName("ES2015")}} {{Spec2("ES2015")}}
{{SpecName("ES2016")}} {{Spec2("ES2016")}}
{{SpecName("ES2017")}} {{Spec2("ES2017")}}
{{SpecName("ES2018")}} {{Spec2("ES2018")}}
{{SpecName("ESDraft")}} {{Spec2("ESDraft")}}
{{SpecName("ES Int 1.0")}} {{Spec2("ES Int 1.0")}}
{{SpecName("ES Int 2.0")}} {{Spec2("ES Int 2.0")}}
{{SpecName("ES Int Draft")}} {{Spec2("ES Int Draft")}}
ECMAScript Proposals (with advanced stage and at least 1 implementation) Draft

{{TopicBox("JavaScript")}}

Document Tags and Contributors

ป้ายกำกับ: 
ผู้มีส่วนร่วมกับหน้านี้: ThuyNT13, ExE-Boss, fscholz, wbamberg, kdex, nbp, SphinxKnight, manjumg23, indocomtrade, apurv-pandey, ariesrtheones1369, jswisher, Havvy, Sheppy
อัปเดตล่าสุดโดย: ThuyNT13,