From 6b35508580b6d0e50449794abe59b594f2cc3eda Mon Sep 17 00:00:00 2001 From: "Michael[tm] Smith" Date: Sat, 10 Nov 2018 09:48:46 +0900 Subject: [PATCH] fixup! Add spec_url data for JavaScript features Per https://github.com/mdn/browser-compat-data/pull/2983#issuecomment-437426412 review comments. This change should be squashed before this is merged to master. --- add-specs.py | 55 +++++++++++++++------------- javascript/builtins/Date.json | 3 ++ javascript/builtins/Function.json | 1 + javascript/builtins/Intl.json | 14 +++++++ javascript/builtins/JSON.json | 1 - javascript/builtins/Object.json | 5 +++ javascript/builtins/Proxy.json | 13 +++++++ javascript/builtins/RegExp.json | 1 + javascript/builtins/String.json | 13 +++++++ javascript/builtins/WebAssembly.json | 14 +++++++ javascript/builtins/globals.json | 2 + javascript/grammar.json | 12 ------ javascript/operators/arithmetic.json | 10 ----- javascript/operators/assignment.json | 13 ------- javascript/operators/bitwise.json | 7 ---- javascript/operators/comparison.json | 8 ---- javascript/operators/logical.json | 3 -- javascript/operators/spread.json | 12 ------ javascript/statements.json | 1 + 19 files changed, 97 insertions(+), 91 deletions(-) diff --git a/add-specs.py b/add-specs.py index d94ab736507acf..24d02bd3bbde18 100755 --- a/add-specs.py +++ b/add-specs.py @@ -129,19 +129,25 @@ def getSpecURLsArray(mdn_url, sectionname, http): return [] -def walkBaseData(basedata, filename, http, basename, sectionname, - bcd_data): - for featurename in basedata: - feature_data = basedata[featurename] - path = '%s.%s.%s' % (sectionname, basename, featurename) - bcd_data[sectionname][basename][featurename] = \ - processTarget(feature_data, filename, http, path) - for subfeaturename in feature_data: - subfeaturedata = feature_data[subfeaturename] - path = '%s.%s.%s.%s' % (sectionname, basename, featurename, - subfeaturename) - bcd_data[sectionname][basename][featurename][subfeaturename] = \ - processTarget(subfeaturedata, filename, http, path) +def walkL1Data(l2data, filename, http, l2name, l1name, bcd_data): + for l3name in l2data: + l3data = l2data[l3name] + path = '%s.%s.%s' % (l1name, l2name, l3name) + bcd_data[l1name][l2name][l3name] = \ + processTarget(l3data, filename, http, path) + for l4name in l3data: + l4data = l3data[l4name] + path = '%s.%s.%s.%s' % (l1name, l2name, l3name, l4name) + bcd_data[l1name][l2name][l3name][l4name] = \ + processTarget(l4data, filename, http, path) + if not isinstance(l4data, list): + continue + for l5name in l4data: + l5data = l4data[l5name] + path = '%s.%s.%s.%s.%s' % \ + (l1name, l2name, l3name, l4name, l5name) + bcd_data[l1name][l2name][l3name][l4name][l5name] = \ + processTarget(l5data, filename, http, path) def processTarget(target, filename, http, path): @@ -153,8 +159,6 @@ def processTarget(target, filename, http, path): if '_' not in path: alarm('%s in %s has no mdn_url' % (path, filename)) return target - if target_data['status']['deprecated']: - return target if 'spec_urls' in target_data: if not(len(sys.argv) > 1 and sys.argv[1] == 'fullupdate'): return target @@ -166,6 +170,8 @@ def processTarget(target, filename, http, path): else: del target['__compat']['spec_url'] mdn_url = target_data['mdn_url'] + if urlparse(mdn_url).fragment: + return target spec_urls = getSpecURLsArray(mdn_url, 'Specifications', http) if not(spec_urls): spec_urls = getSpecURLsArray(mdn_url, 'Specification', http) @@ -216,16 +222,15 @@ def main(): continue f = io.open(filename, 'r+', encoding='utf-8') bcd_data = json.load(f, object_pairs_hook=OrderedDict) - for sectionname in bcd_data: - for basename in bcd_data[sectionname]: - basedata = bcd_data[sectionname][basename] - path = '%s.%s' % (sectionname, basename) - path = sectionname + '.' + basename - bcd_data[sectionname][basename] = \ - processTarget(basedata, filename, http, path) - if basedata: - walkBaseData(basedata, filename, http, basename, - sectionname, bcd_data) + for l1name in bcd_data: + for l2name in bcd_data[l1name]: + l2data = bcd_data[l1name][l2name] + path = '%s.%s' % (l1name, l2name) + bcd_data[l1name][l2name] = \ + processTarget(l2data, filename, http, path) + if l2data: + walkL1Data(l2data, filename, http, l2name, l1name, + bcd_data) f.seek(0) f.write(unicode(json.dumps(bcd_data, indent=2, separators=(',', ': '), diff --git a/javascript/builtins/Date.json b/javascript/builtins/Date.json index e3d2f2a01535da..fb6742ec6f730f 100644 --- a/javascript/builtins/Date.json +++ b/javascript/builtins/Date.json @@ -1159,6 +1159,7 @@ "getYear": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Date/getYear", + "spec_url": "https://tc39.github.io/ecma262/#sec-date.prototype.getyear", "support": { "chrome": { "version_added": true @@ -2311,6 +2312,7 @@ "setYear": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Date/setYear", + "spec_url": "https://tc39.github.io/ecma262/#sec-date.prototype.setyear", "support": { "chrome": { "version_added": true @@ -2420,6 +2422,7 @@ "toGMTString": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Date/toGMTString", + "spec_url": "https://tc39.github.io/ecma262/#sec-date.prototype.togmtstring", "support": { "chrome": { "version_added": true diff --git a/javascript/builtins/Function.json b/javascript/builtins/Function.json index f7e152a2228f05..f327cffb1948f9 100644 --- a/javascript/builtins/Function.json +++ b/javascript/builtins/Function.json @@ -58,6 +58,7 @@ "arguments": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function/arguments", + "spec_url": "https://tc39.github.io/ecma262/#sec-arguments-object", "support": { "chrome": { "version_added": true diff --git a/javascript/builtins/Intl.json b/javascript/builtins/Intl.json index 1504b7bb183b3b..e25487dc91e4de 100644 --- a/javascript/builtins/Intl.json +++ b/javascript/builtins/Intl.json @@ -221,6 +221,7 @@ "prototype": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Collator/prototype", + "spec_url": "https://tc39.github.io/ecma402/#sec-Intl.Collator.prototype", "support": { "chrome": { "version_added": "24" @@ -275,6 +276,7 @@ "compare": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Collator/compare", + "spec_url": "https://tc39.github.io/ecma402/#sec-Intl.Collator.prototype.compare", "support": { "chrome": { "version_added": "24" @@ -329,6 +331,7 @@ "resolvedOptions": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Collator/resolvedOptions", + "spec_url": "https://tc39.github.io/ecma402/#sec-Intl.Collator.prototype.resolvedOptions", "support": { "chrome": { "version_added": "24" @@ -383,6 +386,7 @@ "supportedLocalesOf": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Collator/supportedLocalesOf", + "spec_url": "https://tc39.github.io/ecma402/#sec-Intl.Collator.supportedLocalesOf", "support": { "chrome": { "version_added": "24" @@ -599,6 +603,7 @@ "prototype": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat/prototype", + "spec_url": "https://tc39.github.io/ecma402/#sec-Intl.DateTimeFormat.prototype", "support": { "chrome": { "version_added": "24" @@ -653,6 +658,7 @@ "format": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat/format", + "spec_url": "https://tc39.github.io/ecma402/#sec-Intl.DateTimeFormat.prototype.format", "support": { "chrome": { "version_added": "24" @@ -707,6 +713,7 @@ "formatToParts": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat/formatToParts", + "spec_url": "https://tc39.github.io/ecma402/#sec-Intl.DateTimeFormat.prototype.formatToParts", "support": { "chrome": [ { @@ -773,6 +780,7 @@ "resolvedOptions": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat/resolvedOptions", + "spec_url": "https://tc39.github.io/ecma402/#sec-Intl.DateTimeFormat.prototype.resolvedOptions", "support": { "chrome": { "version_added": "24" @@ -881,6 +889,7 @@ "supportedLocalesOf": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Collator/supportedLocalesOf", + "spec_url": "https://tc39.github.io/ecma402/#sec-Intl.Collator.supportedLocalesOf", "support": { "chrome": { "version_added": "24" @@ -990,6 +999,7 @@ "prototype": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/NumberFormat/prototype", + "spec_url": "https://tc39.github.io/ecma402/#sec-Intl.NumberFormat.prototype", "support": { "chrome": { "version_added": "24" @@ -1044,6 +1054,7 @@ "format": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/NumberFormat/format", + "spec_url": "https://tc39.github.io/ecma402/#sec-Intl.NumberFormat.prototype.format", "support": { "chrome": { "version_added": "24" @@ -1098,6 +1109,7 @@ "formatToParts": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/NumberFormat/formatToParts", + "spec_url": "https://tc39.github.io/ecma402/#sec-Intl.NumberFormat.prototype.formatToParts", "support": { "chrome": { "version_added": "63", @@ -1166,6 +1178,7 @@ "resolvedOptions": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/NumberFormat/resolvedOptions", + "spec_url": "https://tc39.github.io/ecma402/#sec-Intl.NumberFormat.prototype.resolvedOptions", "support": { "chrome": { "version_added": "24" @@ -1220,6 +1233,7 @@ "supportedLocalesOf": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/NumberFormat/supportedLocalesOf", + "spec_url": "https://tc39.github.io/ecma402/#sec-Intl.NumberFormat.supportedLocalesOf", "support": { "chrome": { "version_added": "24" diff --git a/javascript/builtins/JSON.json b/javascript/builtins/JSON.json index 8a719867a7600a..4adb191c537b64 100644 --- a/javascript/builtins/JSON.json +++ b/javascript/builtins/JSON.json @@ -169,7 +169,6 @@ "__compat": { "description": "JavaScript is a superset of JSON", "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/JSON#JavaScript_and_JSON_differences", - "spec_url": "https://tc39.github.io/ecma262/#sec-json-object", "support": { "chrome": { "version_added": "66" diff --git a/javascript/builtins/Object.json b/javascript/builtins/Object.json index e0b0fa5e3a91c4..a816a6abbcf6ec 100644 --- a/javascript/builtins/Object.json +++ b/javascript/builtins/Object.json @@ -281,6 +281,7 @@ "__compat": { "description": "__proto__", "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object/proto", + "spec_url": "https://tc39.github.io/ecma262/#sec-additional-properties-of-the-object.prototype-object", "support": { "chrome": { "version_added": true @@ -1569,6 +1570,7 @@ "__compat": { "description": "__defineGetter__", "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object/__defineGetter__", + "spec_url": "https://tc39.github.io/ecma262/#sec-object.prototype.__defineGetter__", "support": { "chrome": { "version_added": true @@ -1625,6 +1627,7 @@ "__compat": { "description": "__defineSetter__", "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object/__defineSetter__", + "spec_url": "https://tc39.github.io/ecma262/#sec-object.prototype.__defineSetter__", "support": { "chrome": { "version_added": true @@ -1681,6 +1684,7 @@ "__compat": { "description": "__lookupGetter__", "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object/__lookupGetter__", + "spec_url": "https://tc39.github.io/ecma262/#sec-object.prototype.__lookupGetter__", "support": { "chrome": { "version_added": true @@ -1736,6 +1740,7 @@ "__compat": { "description": "__lookupSetter__", "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object/__lookupSetter__", + "spec_url": "https://tc39.github.io/ecma262/#sec-object.prototype.__lookupSetter__", "support": { "chrome": { "version_added": true diff --git a/javascript/builtins/Proxy.json b/javascript/builtins/Proxy.json index ca0d836e1d33d9..5edb04e5f4b152 100644 --- a/javascript/builtins/Proxy.json +++ b/javascript/builtins/Proxy.json @@ -114,6 +114,7 @@ "apply": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Proxy/handler/apply", + "spec_url": "https://tc39.github.io/ecma262/#sec-proxy-object-internal-methods-and-internal-slots-call-thisargument-argumentslist", "support": { "chrome": { "version_added": "49" @@ -168,6 +169,7 @@ "construct": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Proxy/handler/construct", + "spec_url": "https://tc39.github.io/ecma262/#sec-proxy-object-internal-methods-and-internal-slots-construct-argumentslist-newtarget", "support": { "chrome": { "version_added": "49" @@ -222,6 +224,7 @@ "defineProperty": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Proxy/handler/defineProperty", + "spec_url": "https://tc39.github.io/ecma262/#sec-proxy-object-internal-methods-and-internal-slots-defineownproperty-p-desc", "support": { "chrome": { "version_added": "49" @@ -276,6 +279,7 @@ "deleteProperty": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Proxy/handler/deleteProperty", + "spec_url": "https://tc39.github.io/ecma262/#sec-proxy-object-internal-methods-and-internal-slots-delete-p", "support": { "chrome": { "version_added": "49" @@ -386,6 +390,7 @@ "get": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Proxy/handler/get", + "spec_url": "https://tc39.github.io/ecma262/#sec-proxy-object-internal-methods-and-internal-slots-get-p-receiver", "support": { "chrome": { "version_added": "49" @@ -440,6 +445,7 @@ "getOwnPropertyDescriptor": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Proxy/handler/getOwnPropertyDescriptor", + "spec_url": "https://tc39.github.io/ecma262/#sec-proxy-object-internal-methods-and-internal-slots-getownproperty-p", "support": { "chrome": { "version_added": "49" @@ -494,6 +500,7 @@ "getPrototypeOf": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Proxy/handler/getPrototypeOf", + "spec_url": "https://tc39.github.io/ecma262/#sec-proxy-object-internal-methods-and-internal-slots-getprototypeof", "support": { "chrome": { "version_added": false @@ -548,6 +555,7 @@ "has": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Proxy/handler/has", + "spec_url": "https://tc39.github.io/ecma262/#sec-proxy-object-internal-methods-and-internal-slots-hasproperty-p", "support": { "chrome": { "version_added": "49" @@ -602,6 +610,7 @@ "isExtensible": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Proxy/handler/isExtensible", + "spec_url": "https://tc39.github.io/ecma262/#sec-proxy-object-internal-methods-and-internal-slots-isextensible", "support": { "chrome": { "version_added": null @@ -656,6 +665,7 @@ "ownKeys": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Proxy/handler/ownKeys", + "spec_url": "https://tc39.github.io/ecma262/#sec-proxy-object-internal-methods-and-internal-slots-ownpropertykeys", "support": { "chrome": { "version_added": "49" @@ -712,6 +722,7 @@ "preventExtensions": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Proxy/handler/preventExtensions", + "spec_url": "https://tc39.github.io/ecma262/#sec-proxy-object-internal-methods-and-internal-slots-preventextensions", "support": { "chrome": { "version_added": "49" @@ -766,6 +777,7 @@ "set": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Proxy/handler/set", + "spec_url": "https://tc39.github.io/ecma262/#sec-proxy-object-internal-methods-and-internal-slots-set-p-v-receiver", "support": { "chrome": { "version_added": "49" @@ -820,6 +832,7 @@ "setPrototypeOf": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Proxy/handler/setPrototypeOf", + "spec_url": "https://tc39.github.io/ecma262/#sec-proxy-object-internal-methods-and-internal-slots-setprototypeof-v", "support": { "chrome": { "version_added": null diff --git a/javascript/builtins/RegExp.json b/javascript/builtins/RegExp.json index d0e552bbe57670..7429a4d6c8b3c5 100644 --- a/javascript/builtins/RegExp.json +++ b/javascript/builtins/RegExp.json @@ -58,6 +58,7 @@ "compile": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RegExp/compile", + "spec_url": "https://tc39.github.io/ecma262/#sec-regexp.prototype.compile", "support": { "chrome": { "version_added": true diff --git a/javascript/builtins/String.json b/javascript/builtins/String.json index 72b8366a81fda1..edd1c02269e080 100644 --- a/javascript/builtins/String.json +++ b/javascript/builtins/String.json @@ -250,6 +250,7 @@ "big": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String/big", + "spec_url": "https://tc39.github.io/ecma262/#sec-string.prototype.big", "support": { "chrome": { "version_added": true @@ -304,6 +305,7 @@ "blink": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String/blink", + "spec_url": "https://tc39.github.io/ecma262/#sec-string.prototype.blink", "support": { "chrome": { "version_added": true @@ -358,6 +360,7 @@ "bold": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String/bold", + "spec_url": "https://tc39.github.io/ecma262/#sec-string.prototype.bold", "support": { "chrome": { "version_added": true @@ -709,6 +712,7 @@ "fixed": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String/fixed", + "spec_url": "https://tc39.github.io/ecma262/#sec-string.prototype.fixed", "support": { "chrome": { "version_added": true @@ -763,6 +767,7 @@ "fontcolor": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String/fontcolor", + "spec_url": "https://tc39.github.io/ecma262/#sec-string.prototype.fontcolor", "support": { "chrome": { "version_added": true @@ -817,6 +822,7 @@ "fontsize": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String/fontsize", + "spec_url": "https://tc39.github.io/ecma262/#sec-string.prototype.fontsize", "support": { "chrome": { "version_added": true @@ -1116,6 +1122,7 @@ "italics": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String/italics", + "spec_url": "https://tc39.github.io/ecma262/#sec-string.prototype.italics", "support": { "chrome": { "version_added": true @@ -1280,6 +1287,7 @@ "link": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String/link", + "spec_url": "https://tc39.github.io/ecma262/#sec-string.prototype.link", "support": { "chrome": { "version_added": true @@ -2302,6 +2310,7 @@ "small": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String/small", + "spec_url": "https://tc39.github.io/ecma262/#sec-string.prototype.small", "support": { "chrome": { "version_added": true @@ -2477,6 +2486,7 @@ "strike": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String/strike", + "spec_url": "https://tc39.github.io/ecma262/#sec-string.prototype.strike", "support": { "chrome": { "version_added": true @@ -2531,6 +2541,7 @@ "sub": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String/sub", + "spec_url": "https://tc39.github.io/ecma262/#sec-string.prototype.sub", "support": { "chrome": { "version_added": true @@ -2585,6 +2596,7 @@ "substr": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String/substr", + "spec_url": "https://tc39.github.io/ecma262/#sec-string.prototype.substr", "support": { "chrome": { "version_added": true @@ -2694,6 +2706,7 @@ "sup": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String/sup", + "spec_url": "https://tc39.github.io/ecma262/#sec-string.prototype.sup", "support": { "chrome": { "version_added": true diff --git a/javascript/builtins/WebAssembly.json b/javascript/builtins/WebAssembly.json index 4837d0d8fca0a7..968fd3631b2752 100644 --- a/javascript/builtins/WebAssembly.json +++ b/javascript/builtins/WebAssembly.json @@ -357,6 +357,7 @@ "exports": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Instance/exports", + "spec_url": "https://webassembly.github.io/spec/js-api/#webassemblyinstance-objects", "support": { "chrome": { "version_added": "57" @@ -419,6 +420,7 @@ "prototype": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Instance/prototype", + "spec_url": "https://webassembly.github.io/spec/js-api/#webassemblymodule-objects", "support": { "chrome": { "version_added": "57" @@ -610,6 +612,7 @@ "buffer": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Memory/buffer", + "spec_url": "https://webassembly.github.io/spec/js-api/#webassemblymemoryprototypebuffer", "support": { "chrome": { "version_added": "57" @@ -672,6 +675,7 @@ "grow": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Memory/grow", + "spec_url": "https://webassembly.github.io/spec/js-api/#webassemblymemoryprototypegrow", "support": { "chrome": { "version_added": "57" @@ -734,6 +738,7 @@ "prototype": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Memory/prototype", + "spec_url": "https://webassembly.github.io/spec/js-api/#webassemblymemory-objects", "support": { "chrome": { "version_added": "57" @@ -859,6 +864,7 @@ "customSections": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Module/customSections", + "spec_url": "https://webassembly.github.io/spec/js-api/#webassemblymodulecustomsections", "support": { "chrome": { "version_added": "57" @@ -921,6 +927,7 @@ "exports": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Module/exports", + "spec_url": "https://webassembly.github.io/spec/js-api/#webassemblymoduleexports", "support": { "chrome": { "version_added": "57" @@ -983,6 +990,7 @@ "imports": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Module/imports", + "spec_url": "https://webassembly.github.io/spec/js-api/#webassemblymoduleimports", "support": { "chrome": { "version_added": "57" @@ -1045,6 +1053,7 @@ "prototype": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Module/prototype", + "spec_url": "https://webassembly.github.io/spec/js-api/#webassemblymodule-objects", "support": { "chrome": { "version_added": "57" @@ -1236,6 +1245,7 @@ "get": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Table/get", + "spec_url": "https://webassembly.github.io/spec/js-api/#webassemblytableprototypeget", "support": { "chrome": { "version_added": "57" @@ -1298,6 +1308,7 @@ "grow": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Table/grow", + "spec_url": "https://webassembly.github.io/spec/js-api/#webassemblytableprototypegrow", "support": { "chrome": { "version_added": "57" @@ -1360,6 +1371,7 @@ "length": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Table/length", + "spec_url": "https://webassembly.github.io/spec/js-api/#webassemblytableprototypelength", "support": { "chrome": { "version_added": "57" @@ -1422,6 +1434,7 @@ "prototype": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Table/prototype", + "spec_url": "https://webassembly.github.io/spec/js-api/#webassemblytable-objects", "support": { "chrome": { "version_added": "57" @@ -1484,6 +1497,7 @@ "set": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Table/set", + "spec_url": "https://webassembly.github.io/spec/js-api/#webassemblytableprototypeset", "support": { "chrome": { "version_added": "57" diff --git a/javascript/builtins/globals.json b/javascript/builtins/globals.json index 3c88c6a295c0df..10d6037af4d8a0 100644 --- a/javascript/builtins/globals.json +++ b/javascript/builtins/globals.json @@ -334,6 +334,7 @@ "escape": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/escape", + "spec_url": "https://tc39.github.io/ecma262/#sec-escape-string", "support": { "chrome": { "version_added": true @@ -827,6 +828,7 @@ "unescape": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/unescape", + "spec_url": "https://tc39.github.io/ecma262/#sec-unescape-string", "support": { "chrome": { "version_added": true diff --git a/javascript/grammar.json b/javascript/grammar.json index 4afa28340adcf2..5d5fd75e6ee3ab 100644 --- a/javascript/grammar.json +++ b/javascript/grammar.json @@ -5,7 +5,6 @@ "__compat": { "description": "Array literals ([1, 2, 3])", "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Lexical_grammar#Array_literals", - "spec_url": "https://tc39.github.io/ecma262/#sec-ecmascript-language-lexical-grammar", "support": { "chrome": { "version_added": true @@ -61,7 +60,6 @@ "__compat": { "description": "Binary numeric literals (0b)", "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Lexical_grammar#Binary", - "spec_url": "https://tc39.github.io/ecma262/#sec-ecmascript-language-lexical-grammar", "support": { "chrome": { "version_added": "41" @@ -128,7 +126,6 @@ "__compat": { "description": "Boolean literals (true/false)", "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Lexical_grammar#Boolean_literal", - "spec_url": "https://tc39.github.io/ecma262/#sec-ecmascript-language-lexical-grammar", "support": { "chrome": { "version_added": true @@ -184,7 +181,6 @@ "__compat": { "description": "Decimal numeric literals (1234567890)", "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Lexical_grammar#Decimal", - "spec_url": "https://tc39.github.io/ecma262/#sec-ecmascript-language-lexical-grammar", "support": { "chrome": { "version_added": true @@ -240,7 +236,6 @@ "__compat": { "description": "Hexadecimal escape sequences ('\\0xA9')", "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Lexical_grammar#Hexadecimal_escape_sequences", - "spec_url": "https://tc39.github.io/ecma262/#sec-ecmascript-language-lexical-grammar", "support": { "chrome": { "version_added": true @@ -296,7 +291,6 @@ "__compat": { "description": "Hexadecimal numeric literals (0xAF)", "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Lexical_grammar#Hexadecimal", - "spec_url": "https://tc39.github.io/ecma262/#sec-ecmascript-language-lexical-grammar", "support": { "chrome": { "version_added": true @@ -352,7 +346,6 @@ "__compat": { "description": "Null literal (null)", "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Lexical_grammar#Null_literal", - "spec_url": "https://tc39.github.io/ecma262/#sec-ecmascript-language-lexical-grammar", "support": { "chrome": { "version_added": true @@ -408,7 +401,6 @@ "__compat": { "description": "Octal numeric literals (0o)", "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Lexical_grammar#Octal", - "spec_url": "https://tc39.github.io/ecma262/#sec-ecmascript-language-lexical-grammar", "support": { "chrome": { "version_added": "41" @@ -464,7 +456,6 @@ "__compat": { "description": "Regular expression literals (/ab+c/g)", "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Lexical_grammar#Regular_expression_literals", - "spec_url": "https://tc39.github.io/ecma262/#sec-ecmascript-language-lexical-grammar", "support": { "chrome": { "version_added": true @@ -520,7 +511,6 @@ "__compat": { "description": "String literals ('Hello world')", "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Lexical_grammar#String_literals", - "spec_url": "https://tc39.github.io/ecma262/#sec-ecmascript-language-lexical-grammar", "support": { "chrome": { "version_added": true @@ -576,7 +566,6 @@ "__compat": { "description": "Unicode escape sequences ('\\u00A9')", "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Lexical_grammar#Unicode_escape_sequences", - "spec_url": "https://tc39.github.io/ecma262/#sec-ecmascript-language-lexical-grammar", "support": { "chrome": { "version_added": true @@ -632,7 +621,6 @@ "__compat": { "description": "Unicode point escapes (\\u{})", "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Lexical_grammar#Unicode_code_point_escapes", - "spec_url": "https://tc39.github.io/ecma262/#sec-ecmascript-language-lexical-grammar", "support": { "chrome": { "version_added": "44" diff --git a/javascript/operators/arithmetic.json b/javascript/operators/arithmetic.json index dcdb1ec0be66be..9319171b63e330 100644 --- a/javascript/operators/arithmetic.json +++ b/javascript/operators/arithmetic.json @@ -6,7 +6,6 @@ "__compat": { "description": "Addition (+)", "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/Arithmetic_Operators#Addition", - "spec_url": "https://tc39.github.io/ecma262/#sec-additive-operators", "support": { "chrome": { "version_added": true @@ -62,7 +61,6 @@ "__compat": { "description": "Decrement (--)", "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/Arithmetic_Operators#Decrement", - "spec_url": "https://tc39.github.io/ecma262/#sec-additive-operators", "support": { "chrome": { "version_added": true @@ -118,7 +116,6 @@ "__compat": { "description": "Division (/)", "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/Arithmetic_Operators#Division", - "spec_url": "https://tc39.github.io/ecma262/#sec-additive-operators", "support": { "chrome": { "version_added": true @@ -174,7 +171,6 @@ "__compat": { "description": "Exponentiation (**)", "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/Arithmetic_Operators#Exponentiation", - "spec_url": "https://tc39.github.io/ecma262/#sec-additive-operators", "support": { "chrome": { "version_added": "52" @@ -241,7 +237,6 @@ "__compat": { "description": "Increment (++)", "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/Arithmetic_Operators#Increment", - "spec_url": "https://tc39.github.io/ecma262/#sec-additive-operators", "support": { "chrome": { "version_added": true @@ -297,7 +292,6 @@ "__compat": { "description": "Multiplication (*)", "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/Arithmetic_Operators#Multiplication", - "spec_url": "https://tc39.github.io/ecma262/#sec-additive-operators", "support": { "chrome": { "version_added": true @@ -353,7 +347,6 @@ "__compat": { "description": "Remainder (%)", "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/Arithmetic_Operators#Remainder", - "spec_url": "https://tc39.github.io/ecma262/#sec-additive-operators", "support": { "chrome": { "version_added": true @@ -409,7 +402,6 @@ "__compat": { "description": "Subtraction (-)", "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/Arithmetic_Operators#Subtraction", - "spec_url": "https://tc39.github.io/ecma262/#sec-additive-operators", "support": { "chrome": { "version_added": true @@ -465,7 +457,6 @@ "__compat": { "description": "Unary negation (-)", "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/Arithmetic_Operators#Unary_negation", - "spec_url": "https://tc39.github.io/ecma262/#sec-additive-operators", "support": { "chrome": { "version_added": true @@ -521,7 +512,6 @@ "__compat": { "description": "Unary plus (+)", "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/Arithmetic_Operators#Unary_plus", - "spec_url": "https://tc39.github.io/ecma262/#sec-additive-operators", "support": { "chrome": { "version_added": true diff --git a/javascript/operators/assignment.json b/javascript/operators/assignment.json index 5447112567bb36..6bf6aee9878340 100644 --- a/javascript/operators/assignment.json +++ b/javascript/operators/assignment.json @@ -6,7 +6,6 @@ "__compat": { "description": "Addition assignment (x += y)", "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/Assignment_Operators#Addition_assignment", - "spec_url": "https://tc39.github.io/ecma262/#sec-assignment-operators", "support": { "chrome": { "version_added": true @@ -62,7 +61,6 @@ "__compat": { "description": "Bitwise AND assignment (x &= y)", "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/Assignment_Operators#Bitwise_AND_assignment", - "spec_url": "https://tc39.github.io/ecma262/#sec-assignment-operators", "support": { "chrome": { "version_added": true @@ -118,7 +116,6 @@ "__compat": { "description": "Bitwise OR assignment (x |= y)", "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/Assignment_Operators#Bitwise_OR_assignment", - "spec_url": "https://tc39.github.io/ecma262/#sec-assignment-operators", "support": { "chrome": { "version_added": true @@ -174,7 +171,6 @@ "__compat": { "description": "Bitwise XOR assignment (x ^= y)", "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/Assignment_Operators#Bitwise_XOR_assignment", - "spec_url": "https://tc39.github.io/ecma262/#sec-assignment-operators", "support": { "chrome": { "version_added": true @@ -230,7 +226,6 @@ "__compat": { "description": "Division assignment (x /= y)", "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/Assignment_Operators#Division_assignment", - "spec_url": "https://tc39.github.io/ecma262/#sec-assignment-operators", "support": { "chrome": { "version_added": true @@ -286,7 +281,6 @@ "__compat": { "description": "Exponentiation assignment (x **= y)", "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/Assignment_Operators#Exponentiation_assignment", - "spec_url": "https://tc39.github.io/ecma262/#sec-assignment-operators", "support": { "chrome": { "version_added": "52" @@ -353,7 +347,6 @@ "__compat": { "description": "Left shift assignment (x <<= y)", "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/Assignment_Operators#Left_shift_assignment", - "spec_url": "https://tc39.github.io/ecma262/#sec-assignment-operators", "support": { "chrome": { "version_added": true @@ -409,7 +402,6 @@ "__compat": { "description": "Multiplication assignment (x *= y)", "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/Assignment_Operators#Multiplication_assignment", - "spec_url": "https://tc39.github.io/ecma262/#sec-assignment-operators", "support": { "chrome": { "version_added": true @@ -465,7 +457,6 @@ "__compat": { "description": "Remainder assignment (x %= y)", "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/Assignment_Operators#Remainder_assignment", - "spec_url": "https://tc39.github.io/ecma262/#sec-assignment-operators", "support": { "chrome": { "version_added": true @@ -521,7 +512,6 @@ "__compat": { "description": "Right shift assignment (x >>= y)", "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/Assignment_Operators#Right_shift_assignment", - "spec_url": "https://tc39.github.io/ecma262/#sec-assignment-operators", "support": { "chrome": { "version_added": true @@ -577,7 +567,6 @@ "__compat": { "description": "Assignment (x = y)", "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/Assignment_Operators#Assignment", - "spec_url": "https://tc39.github.io/ecma262/#sec-assignment-operators", "support": { "chrome": { "version_added": true @@ -633,7 +622,6 @@ "__compat": { "description": "Subtraction assignment (x -= y)", "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/Assignment_Operators#Subtraction_assignment", - "spec_url": "https://tc39.github.io/ecma262/#sec-assignment-operators", "support": { "chrome": { "version_added": true @@ -689,7 +677,6 @@ "__compat": { "description": "Unsigned right shift assignment (x >>>= y)", "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/Assignment_Operators#Unsigned_right_shift_assignment", - "spec_url": "https://tc39.github.io/ecma262/#sec-assignment-operators", "support": { "chrome": { "version_added": true diff --git a/javascript/operators/bitwise.json b/javascript/operators/bitwise.json index 120f9d26ca8592..9647ce5927186f 100644 --- a/javascript/operators/bitwise.json +++ b/javascript/operators/bitwise.json @@ -6,7 +6,6 @@ "__compat": { "description": "Bitwise AND (a & b)", "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/Bitwise_Operators#Bitwise_AND", - "spec_url": "https://tc39.github.io/ecma262/#sec-bitwise-shift-operators", "support": { "chrome": { "version_added": true @@ -62,7 +61,6 @@ "__compat": { "description": "Bitwise left shift (a << b)", "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/Bitwise_Operators#Left_shift", - "spec_url": "https://tc39.github.io/ecma262/#sec-bitwise-shift-operators", "support": { "chrome": { "version_added": true @@ -118,7 +116,6 @@ "__compat": { "description": "Bitwise NOT (~a)", "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/Bitwise_Operators#Bitwise_NOT", - "spec_url": "https://tc39.github.io/ecma262/#sec-bitwise-shift-operators", "support": { "chrome": { "version_added": true @@ -174,7 +171,6 @@ "__compat": { "description": "Bitwise OR (a | b)", "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/Bitwise_Operators#Bitwise_OR", - "spec_url": "https://tc39.github.io/ecma262/#sec-bitwise-shift-operators", "support": { "chrome": { "version_added": true @@ -230,7 +226,6 @@ "__compat": { "description": "Bitwise right shift (a >> b)", "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/Bitwise_Operators#Right_shift", - "spec_url": "https://tc39.github.io/ecma262/#sec-bitwise-shift-operators", "support": { "chrome": { "version_added": true @@ -286,7 +281,6 @@ "__compat": { "description": "Bitwise unsigned right shift (a >>> b)", "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/Bitwise_Operators#Unsigned_right_shift", - "spec_url": "https://tc39.github.io/ecma262/#sec-bitwise-shift-operators", "support": { "chrome": { "version_added": true @@ -342,7 +336,6 @@ "__compat": { "description": "Bitwise XOR (a ^ b)", "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/Bitwise_Operators#Bitwise_XOR", - "spec_url": "https://tc39.github.io/ecma262/#sec-bitwise-shift-operators", "support": { "chrome": { "version_added": true diff --git a/javascript/operators/comparison.json b/javascript/operators/comparison.json index dc5d144f10d109..5465995f2e24bf 100644 --- a/javascript/operators/comparison.json +++ b/javascript/operators/comparison.json @@ -6,7 +6,6 @@ "__compat": { "description": "Equality (a == b)", "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/Comparison_Operators#Equality", - "spec_url": "https://tc39.github.io/ecma262/#sec-relational-operators", "support": { "chrome": { "version_added": true @@ -62,7 +61,6 @@ "__compat": { "description": "Inequality (a != b)", "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/Comparison_Operators#Inequality", - "spec_url": "https://tc39.github.io/ecma262/#sec-relational-operators", "support": { "chrome": { "version_added": true @@ -118,7 +116,6 @@ "__compat": { "description": "Identity (a === b)", "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/Comparison_Operators#Identity", - "spec_url": "https://tc39.github.io/ecma262/#sec-relational-operators", "support": { "chrome": { "version_added": true @@ -174,7 +171,6 @@ "__compat": { "description": "Non-identity (a !== b)", "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/Comparison_Operators#Nonidentity", - "spec_url": "https://tc39.github.io/ecma262/#sec-relational-operators", "support": { "chrome": { "version_added": true @@ -230,7 +226,6 @@ "__compat": { "description": "Greater than (a > b)", "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/Comparison_Operators#Greater_than_operator", - "spec_url": "https://tc39.github.io/ecma262/#sec-relational-operators", "support": { "chrome": { "version_added": true @@ -286,7 +281,6 @@ "__compat": { "description": "Greater than or equal (a >= b)", "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/Comparison_Operators#Greater_than_or_equal_operator", - "spec_url": "https://tc39.github.io/ecma262/#sec-relational-operators", "support": { "chrome": { "version_added": true @@ -342,7 +336,6 @@ "__compat": { "description": "Less than (a < b)", "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/Comparison_Operators#Less_than_operator", - "spec_url": "https://tc39.github.io/ecma262/#sec-relational-operators", "support": { "chrome": { "version_added": true @@ -398,7 +391,6 @@ "__compat": { "description": "Less than or equal (a <= b)", "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/Comparison_Operators#Less_than_or_equal_operator", - "spec_url": "https://tc39.github.io/ecma262/#sec-relational-operators", "support": { "chrome": { "version_added": true diff --git a/javascript/operators/logical.json b/javascript/operators/logical.json index 505eda0d331af3..7c2cd520436b6f 100644 --- a/javascript/operators/logical.json +++ b/javascript/operators/logical.json @@ -6,7 +6,6 @@ "__compat": { "description": "Logical AND (&&)", "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/Logical_Operators#Logical_AND", - "spec_url": "https://tc39.github.io/ecma262/#sec-binary-logical-operators", "support": { "chrome": { "version_added": true @@ -62,7 +61,6 @@ "__compat": { "description": "Logical OR (||)", "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/Logical_Operators#Logical_OR", - "spec_url": "https://tc39.github.io/ecma262/#sec-binary-logical-operators", "support": { "chrome": { "version_added": true @@ -118,7 +116,6 @@ "__compat": { "description": "Logical NOT (!)", "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/Logical_Operators#Logical_NOT", - "spec_url": "https://tc39.github.io/ecma262/#sec-binary-logical-operators", "support": { "chrome": { "version_added": true diff --git a/javascript/operators/spread.json b/javascript/operators/spread.json index a33ae668f96e78..4431f75a8d8b32 100644 --- a/javascript/operators/spread.json +++ b/javascript/operators/spread.json @@ -6,10 +6,6 @@ "__compat": { "description": "Spread in array literals", "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/Spread_syntax#Spread_in_array_literals", - "spec_url": [ - "https://tc39.github.io/ecma262/#sec-array-initializer", - "https://tc39.github.io/ecma262/#sec-object-initializer" - ], "support": { "chrome": { "version_added": "46" @@ -76,10 +72,6 @@ "__compat": { "description": "Spread in function calls", "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/Spread_syntax#Spread_in_function_calls", - "spec_url": [ - "https://tc39.github.io/ecma262/#sec-array-initializer", - "https://tc39.github.io/ecma262/#sec-object-initializer" - ], "support": { "chrome": { "version_added": "46" @@ -200,10 +192,6 @@ "__compat": { "description": "Spread in object literals", "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/Spread_syntax#Spread_in_object_literals", - "spec_url": [ - "https://tc39.github.io/ecma262/#sec-array-initializer", - "https://tc39.github.io/ecma262/#sec-object-initializer" - ], "support": { "chrome": { "version_added": "60" diff --git a/javascript/statements.json b/javascript/statements.json index 819353fd60397d..4f427685cbe685 100644 --- a/javascript/statements.json +++ b/javascript/statements.json @@ -2521,6 +2521,7 @@ "with": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/with", + "spec_url": "https://tc39.github.io/ecma262/#sec-with-statement", "support": { "chrome": { "version_added": true