Skip to content

Commit

Permalink
Add Math __compat feature; sort (#13903)
Browse files Browse the repository at this point in the history
  • Loading branch information
Elchi3 authored Dec 29, 2021
1 parent ea99862 commit b0ee6c4
Showing 1 changed file with 74 additions and 21 deletions.
95 changes: 74 additions & 21 deletions javascript/builtins/Math.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,59 @@
"javascript": {
"builtins": {
"Math": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Math",
"spec_url": "https://tc39.es/ecma262/multipage/numbers-and-dates.html#sec-math-object",
"support": {
"chrome": {
"version_added": "1"
},
"chrome_android": {
"version_added": "18"
},
"deno": {
"version_added": "1.0"
},
"edge": {
"version_added": "12"
},
"firefox": {
"version_added": "1"
},
"firefox_android": {
"version_added": "4"
},
"ie": {
"version_added": "3"
},
"nodejs": {
"version_added": "0.10.0"
},
"opera": {
"version_added": "3"
},
"opera_android": {
"version_added": "10.1"
},
"safari": {
"version_added": "1"
},
"safari_ios": {
"version_added": "1"
},
"samsunginternet_android": {
"version_added": "1.0"
},
"webview_android": {
"version_added": "1"
}
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
}
},
"E": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Math/E",
Expand Down Expand Up @@ -57,10 +110,10 @@
}
}
},
"LN2": {
"LN10": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Math/LN2",
"spec_url": "https://tc39.es/ecma262/multipage/numbers-and-dates.html#sec-math.ln2",
"mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Math/LN10",
"spec_url": "https://tc39.es/ecma262/multipage/numbers-and-dates.html#sec-math.ln10",
"support": {
"chrome": {
"version_added": "1"
Expand Down Expand Up @@ -112,10 +165,10 @@
}
}
},
"LN10": {
"LN2": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Math/LN10",
"spec_url": "https://tc39.es/ecma262/multipage/numbers-and-dates.html#sec-math.ln10",
"mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Math/LN2",
"spec_url": "https://tc39.es/ecma262/multipage/numbers-and-dates.html#sec-math.ln2",
"support": {
"chrome": {
"version_added": "1"
Expand Down Expand Up @@ -167,10 +220,10 @@
}
}
},
"LOG2E": {
"LOG10E": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Math/LOG2E",
"spec_url": "https://tc39.es/ecma262/multipage/numbers-and-dates.html#sec-math.log2e",
"mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Math/LOG10E",
"spec_url": "https://tc39.es/ecma262/multipage/numbers-and-dates.html#sec-math.log10e",
"support": {
"chrome": {
"version_added": "1"
Expand Down Expand Up @@ -222,10 +275,10 @@
}
}
},
"LOG10E": {
"LOG2E": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Math/LOG10E",
"spec_url": "https://tc39.es/ecma262/multipage/numbers-and-dates.html#sec-math.log10e",
"mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Math/LOG2E",
"spec_url": "https://tc39.es/ecma262/multipage/numbers-and-dates.html#sec-math.log2e",
"support": {
"chrome": {
"version_added": "1"
Expand Down Expand Up @@ -1542,10 +1595,10 @@
}
}
},
"log1p": {
"log10": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Math/log1p",
"spec_url": "https://tc39.es/ecma262/multipage/numbers-and-dates.html#sec-math.log1p",
"mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Math/log10",
"spec_url": "https://tc39.es/ecma262/multipage/numbers-and-dates.html#sec-math.log10",
"support": {
"chrome": {
"version_added": "38"
Expand Down Expand Up @@ -1597,10 +1650,10 @@
}
}
},
"log2": {
"log1p": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Math/log2",
"spec_url": "https://tc39.es/ecma262/multipage/numbers-and-dates.html#sec-math.log2",
"mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Math/log1p",
"spec_url": "https://tc39.es/ecma262/multipage/numbers-and-dates.html#sec-math.log1p",
"support": {
"chrome": {
"version_added": "38"
Expand Down Expand Up @@ -1652,10 +1705,10 @@
}
}
},
"log10": {
"log2": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Math/log10",
"spec_url": "https://tc39.es/ecma262/multipage/numbers-and-dates.html#sec-math.log10",
"mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Math/log2",
"spec_url": "https://tc39.es/ecma262/multipage/numbers-and-dates.html#sec-math.log2",
"support": {
"chrome": {
"version_added": "38"
Expand Down

0 comments on commit b0ee6c4

Please sign in to comment.