peach a19a732be8 commit message | %!s(int64=2) %!d(string=hai) anos | |
---|---|---|
.. | ||
2015 | %!s(int64=2) %!d(string=hai) anos | |
2016 | %!s(int64=2) %!d(string=hai) anos | |
2017 | %!s(int64=2) %!d(string=hai) anos | |
2018 | %!s(int64=2) %!d(string=hai) anos | |
2019 | %!s(int64=2) %!d(string=hai) anos | |
2020 | %!s(int64=2) %!d(string=hai) anos | |
2021 | %!s(int64=2) %!d(string=hai) anos | |
5 | %!s(int64=2) %!d(string=hai) anos | |
helpers | %!s(int64=2) %!d(string=hai) anos | |
operations | %!s(int64=2) %!d(string=hai) anos | |
.editorconfig | %!s(int64=2) %!d(string=hai) anos | |
.eslintrc | %!s(int64=2) %!d(string=hai) anos | |
.nycrc | %!s(int64=2) %!d(string=hai) anos | |
CHANGELOG.md | %!s(int64=2) %!d(string=hai) anos | |
GetIntrinsic.js | %!s(int64=2) %!d(string=hai) anos | |
LICENSE | %!s(int64=2) %!d(string=hai) anos | |
README.md | %!s(int64=2) %!d(string=hai) anos | |
es2015.js | %!s(int64=2) %!d(string=hai) anos | |
es2016.js | %!s(int64=2) %!d(string=hai) anos | |
es2017.js | %!s(int64=2) %!d(string=hai) anos | |
es2018.js | %!s(int64=2) %!d(string=hai) anos | |
es2019.js | %!s(int64=2) %!d(string=hai) anos | |
es2020.js | %!s(int64=2) %!d(string=hai) anos | |
es2021.js | %!s(int64=2) %!d(string=hai) anos | |
es5.js | %!s(int64=2) %!d(string=hai) anos | |
es6.js | %!s(int64=2) %!d(string=hai) anos | |
es7.js | %!s(int64=2) %!d(string=hai) anos | |
index.js | %!s(int64=2) %!d(string=hai) anos | |
package.json | %!s(int64=2) %!d(string=hai) anos |
ECMAScript spec abstract operations.
Every operation is available by edition/year and by name - for example, es-abstract/2020/Call
gives you the Call
operation from ES2020, es-abstract/5/Type
gives you the Type
operation from ES5.
All abstract operations are also available under an es5
/es2015
/es2016
/es2017
/es2018
/es2019
/es2020
/es2021
entry point, and as a property on the main
export, but using deep imports is highly encouraged for bundle size and performance reasons. Non-deep entry points will be removed in the next semver-major release.
var ES = require('es-abstract');
var assert = require('assert');
assert(ES.isCallable(function () {}));
assert(!ES.isCallable(/a/g));
Simply clone the repo, npm install
, and run npm test
Please email @ljharb or see https://tidelift.com/security if you have a potential security vulnerability to report.