tanyanfei 2effbd93de init 4 년 전
..
.github 2effbd93de init 4 년 전
2015 2effbd93de init 4 년 전
2016 2effbd93de init 4 년 전
2017 2effbd93de init 4 년 전
2018 2effbd93de init 4 년 전
2019 2effbd93de init 4 년 전
5 2effbd93de init 4 년 전
helpers 2effbd93de init 4 년 전
node_modules 2effbd93de init 4 년 전
operations 2effbd93de init 4 년 전
test 2effbd93de init 4 년 전
.editorconfig 2effbd93de init 4 년 전
.eslintignore 2effbd93de init 4 년 전
.eslintrc 2effbd93de init 4 년 전
.gitattributes 2effbd93de init 4 년 전
.nycrc 2effbd93de init 4 년 전
.travis.yml 2effbd93de init 4 년 전
CHANGELOG.md 2effbd93de init 4 년 전
GetIntrinsic.js 2effbd93de init 4 년 전
LICENSE 2effbd93de init 4 년 전
README.md 2effbd93de init 4 년 전
es2015.js 2effbd93de init 4 년 전
es2016.js 2effbd93de init 4 년 전
es2017.js 2effbd93de init 4 년 전
es2018.js 2effbd93de init 4 년 전
es2019.js 2effbd93de init 4 년 전
es5.js 2effbd93de init 4 년 전
es6.js 2effbd93de init 4 년 전
es7.js 2effbd93de init 4 년 전
index.js 2effbd93de init 4 년 전
package.json 2effbd93de init 4 년 전

README.md

es-abstract Version Badge

Build Status dependency status dev dependency status License Downloads

npm badge

browser support

ECMAScript spec abstract operations. When different versions of the spec conflict, the default export will be the latest version of the abstract operation. All abstract operations will also be available under an es5/es2015/es2016/es2017/es2018/es2019 entry point, and exported property, if you require a specific version.

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.