zlwu dd667101ef first commit před 1 rokem
..
2015 dd667101ef first commit před 1 rokem
2016 dd667101ef first commit před 1 rokem
2017 dd667101ef first commit před 1 rokem
2018 dd667101ef first commit před 1 rokem
2019 dd667101ef first commit před 1 rokem
2020 dd667101ef first commit před 1 rokem
2021 dd667101ef first commit před 1 rokem
2022 dd667101ef first commit před 1 rokem
2023 dd667101ef first commit před 1 rokem
2024 dd667101ef first commit před 1 rokem
2025 dd667101ef first commit před 1 rokem
5 dd667101ef first commit před 1 rokem
helpers dd667101ef first commit před 1 rokem
operations dd667101ef first commit před 1 rokem
.editorconfig dd667101ef first commit před 1 rokem
.eslintrc dd667101ef first commit před 1 rokem
.nycrc dd667101ef first commit před 1 rokem
CHANGELOG.md dd667101ef first commit před 1 rokem
GetIntrinsic.js dd667101ef first commit před 1 rokem
LICENSE dd667101ef first commit před 1 rokem
README.md dd667101ef first commit před 1 rokem
es2015.js dd667101ef first commit před 1 rokem
es2016.js dd667101ef first commit před 1 rokem
es2017.js dd667101ef first commit před 1 rokem
es2018.js dd667101ef first commit před 1 rokem
es2019.js dd667101ef first commit před 1 rokem
es2020.js dd667101ef first commit před 1 rokem
es2021.js dd667101ef first commit před 1 rokem
es2022.js dd667101ef first commit před 1 rokem
es2023.js dd667101ef first commit před 1 rokem
es2024.js dd667101ef first commit před 1 rokem
es2025.js dd667101ef first commit před 1 rokem
es5.js dd667101ef first commit před 1 rokem
es6.js dd667101ef first commit před 1 rokem
es7.js dd667101ef first commit před 1 rokem
index.js dd667101ef first commit před 1 rokem
package.json dd667101ef first commit před 1 rokem

README.md

es-abstract Version Badge

dependency status dev dependency status License Downloads

npm badge

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.

Example

var ES = require('es-abstract');
var assert = require('assert');

assert(ES.isCallable(function () {}));
assert(!ES.isCallable(/a/g));

Tests

Simply clone the repo, npm install, and run npm test

Security

Please email @ljharb or see https://tidelift.com/security if you have a potential security vulnerability to report.