From 4f1a517f02bc15e934aafae0ec2b47c80786ab7f Mon Sep 17 00:00:00 2001 From: Mathias Bynens Date: Thu, 11 Feb 2016 10:48:00 +0100 Subject: [PATCH] Remove Unicode database version requirement MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It’s now part of the ECMAScript spec: https://github.com/tc39/ecma262/pull/300 Closes #28. --- data/xrefs/ecmascript/ecmascript.json | 2 +- index.html | 79 +++++++++++++-------------- index.src.html | 5 +- 3 files changed, 39 insertions(+), 47 deletions(-) diff --git a/data/xrefs/ecmascript/ecmascript.json b/data/xrefs/ecmascript/ecmascript.json index b55e694..879591e 100644 --- a/data/xrefs/ecmascript/ecmascript.json +++ b/data/xrefs/ecmascript/ecmascript.json @@ -28,5 +28,5 @@ "variabledeclaration": "sec-variable-statement", "whitespace": "sec-white-space" }, - "url": "http://ecma-international.org/ecma-262/6.0/#" + "url": "https://tc39.github.io/ecma262/#" } diff --git a/index.html b/index.html index 555fd30..24e141b 100644 --- a/index.html +++ b/index.html @@ -22,7 +22,7 @@

JavaScript, a.k.a. Web ECMAScript

-

Living Standard — 5 January 2016

+

Living Standard — 11 February 2016

This Version:
https://javascript.spec.whatwg.org/ @@ -39,7 +39,7 @@

Living Standar

Table of Contents

  • 4.1 IsCallable(value)
  • 4.2 ToString(value)
  • 5 Annex B
  • -
  • 6 Unicode database version
  • -
  • 7 Date +
  • 6 Date
      -
    1. 7.1 Date.UTC(year, month, date, hours, minutes, seconds, ms)
  • -
  • 8 RegExp +
  • 6.1 Date.UTC(year, month, date, hours, minutes, seconds, ms)
  • +
  • 7 RegExp
      -
    1. 8.1 Octal escapes in regular expression literals
    2. -
    3. 8.2 RegExp.$1-$9
    4. -
    5. 8.3 RegExp.lastMatch / RegExp["$&"]
  • -
  • 9 Function +
  • 7.1 Octal escapes in regular expression literals
  • +
  • 7.2 RegExp.$1-$9
  • +
  • 7.3 RegExp.lastMatch / RegExp["$&"]
  • +
  • 8 Function
      -
    1. 9.1 Function.prototype.toString()
  • -
  • 10 Object +
  • 8.1 Function.prototype.toString()
  • +
  • 9 Object
      -
    1. 10.1 Object.prototype.__defineGetter__(propertyName, function)
    2. -
    3. 10.2 Object.prototype.__defineSetter__(propertyName, function)
    4. -
    5. 10.3 Object.prototype.__lookupGetter__(propertyName)
    6. -
    7. 10.4 Object.prototype.__lookupSetter__(propertyName)
  • +
  • 9.1 Object.prototype.__defineGetter__(propertyName, function)
  • +
  • 9.2 Object.prototype.__defineSetter__(propertyName, function)
  • +
  • 9.3 Object.prototype.__lookupGetter__(propertyName)
  • +
  • 9.4 Object.prototype.__lookupSetter__(propertyName)
  • References
  • Acknowledgments @@ -121,63 +120,59 @@

    4 Abstract operations4.1 IsCallable(value)

    -

    The abstract operation IsCallable(value) determines if its argument is a callable function object. It is defined in the ECMAScript specification. +

    The abstract operation IsCallable(value) determines if its argument is a callable function object. It is defined in the ECMAScript specification.

    4.2 ToString(value)

    -

    The abstract operation ToString(value) converts its argument to a value of type String. It is defined in the ECMAScript specification. +

    The abstract operation ToString(value) converts its argument to a value of type String. It is defined in the ECMAScript specification.

    5 Annex B

    -

    JavaScript implementations must fully implement Annex B of the ECMAScript specification. +

    JavaScript implementations must fully implement Annex B of the ECMAScript specification. -

    6 Unicode database version

    - -

    For optimal interoperability, JavaScript implementations should use the latest available Unicode database to determine which ECMAScript characters are allowed in Identifiers and IdentifierNames, and which ECMAScript characters are whitespace characters. [UNICODE] - -

    7 Date

    +

    6 Date

    Tests are available: https://mathias.html5.org/tests/javascript/date/. -

    7.1 Date.UTC(year, month, date, hours, minutes, seconds, ms)

    +

    6.1 Date.UTC(year, month, date, hours, minutes, seconds, ms)

    -

    When called with fewer than two arguments, Date.UTC must return NaN. +

    When called with fewer than two arguments, Date.UTC must return NaN. -

    8 RegExp

    +

    7 RegExp

    -

    8.1 Octal escapes in regular expression literals

    +

    7.1 Octal escapes in regular expression literals

    -

    The octal escape sequence syntax for string literals as described in Annex B of the ECMAScript spec must be supported, and must also apply to regular expression literals, even in strict mode code. +

    The octal escape sequence syntax for string literals as described in Annex B of the ECMAScript spec must be supported, and must also apply to regular expression literals, even in strict mode code.

    /\123/.test('S'); // true
    -

    8.2 RegExp.$1-$9

    +

    7.2 RegExp.$1-$9

    After a regexp is executed the RegExp constructor object has properties $1...$9 which are assigned the values of the first 9 match groups from the previous regexp. -

    8.3 RegExp.lastMatch / RegExp["$&"]

    +

    7.3 RegExp.lastMatch / RegExp["$&"]

    -

    9 Function

    +

    8 Function

    Tests are available: https://mathias.html5.org/tests/javascript/function/. -

    9.1 Function.prototype.toString()

    +

    8.1 Function.prototype.toString()

    TODO -

    10 Object

    +

    9 Object