学习?学个屁 06c63c15cc 初始化提交 hai 3 semanas
..
2015 06c63c15cc 初始化提交 hai 3 semanas
2016 06c63c15cc 初始化提交 hai 3 semanas
2017 06c63c15cc 初始化提交 hai 3 semanas
2018 06c63c15cc 初始化提交 hai 3 semanas
2019 06c63c15cc 初始化提交 hai 3 semanas
2020 06c63c15cc 初始化提交 hai 3 semanas
2021 06c63c15cc 初始化提交 hai 3 semanas
2022 06c63c15cc 初始化提交 hai 3 semanas
2023 06c63c15cc 初始化提交 hai 3 semanas
2024 06c63c15cc 初始化提交 hai 3 semanas
5 06c63c15cc 初始化提交 hai 3 semanas
helpers 06c63c15cc 初始化提交 hai 3 semanas
operations 06c63c15cc 初始化提交 hai 3 semanas
.editorconfig 06c63c15cc 初始化提交 hai 3 semanas
.eslintrc 06c63c15cc 初始化提交 hai 3 semanas
.nycrc 06c63c15cc 初始化提交 hai 3 semanas
CHANGELOG.md 06c63c15cc 初始化提交 hai 3 semanas
GetIntrinsic.js 06c63c15cc 初始化提交 hai 3 semanas
LICENSE 06c63c15cc 初始化提交 hai 3 semanas
README.md 06c63c15cc 初始化提交 hai 3 semanas
es2015.js 06c63c15cc 初始化提交 hai 3 semanas
es2016.js 06c63c15cc 初始化提交 hai 3 semanas
es2017.js 06c63c15cc 初始化提交 hai 3 semanas
es2018.js 06c63c15cc 初始化提交 hai 3 semanas
es2019.js 06c63c15cc 初始化提交 hai 3 semanas
es2020.js 06c63c15cc 初始化提交 hai 3 semanas
es2021.js 06c63c15cc 初始化提交 hai 3 semanas
es2022.js 06c63c15cc 初始化提交 hai 3 semanas
es2023.js 06c63c15cc 初始化提交 hai 3 semanas
es2024.js 06c63c15cc 初始化提交 hai 3 semanas
es5.js 06c63c15cc 初始化提交 hai 3 semanas
es6.js 06c63c15cc 初始化提交 hai 3 semanas
es7.js 06c63c15cc 初始化提交 hai 3 semanas
index.js 06c63c15cc 初始化提交 hai 3 semanas
package.json 06c63c15cc 初始化提交 hai 3 semanas
tmp.mjs 06c63c15cc 初始化提交 hai 3 semanas

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.