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

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.