setup-python/node_modules/es-abstract
Danny McCormick 39c08a0eaa Initial pass 2019-06-26 21:12:00 -04:00
..
helpers Initial pass 2019-06-26 21:12:00 -04:00
operations Initial pass 2019-06-26 21:12:00 -04:00
test Initial pass 2019-06-26 21:12:00 -04:00
.editorconfig Initial pass 2019-06-26 21:12:00 -04:00
.eslintrc Initial pass 2019-06-26 21:12:00 -04:00
.nycrc Initial pass 2019-06-26 21:12:00 -04:00
.travis.yml Initial pass 2019-06-26 21:12:00 -04:00
CHANGELOG.md Initial pass 2019-06-26 21:12:00 -04:00
GetIntrinsic.js Initial pass 2019-06-26 21:12:00 -04:00
LICENSE Initial pass 2019-06-26 21:12:00 -04:00
Makefile Initial pass 2019-06-26 21:12:00 -04:00
README.md Initial pass 2019-06-26 21:12:00 -04:00
es5.js Initial pass 2019-06-26 21:12:00 -04:00
es6.js Initial pass 2019-06-26 21:12:00 -04:00
es7.js Initial pass 2019-06-26 21:12:00 -04:00
es2015.js Initial pass 2019-06-26 21:12:00 -04:00
es2016.js Initial pass 2019-06-26 21:12:00 -04:00
es2017.js Initial pass 2019-06-26 21:12:00 -04:00
es2018.js Initial pass 2019-06-26 21:12:00 -04:00
index.js Initial pass 2019-06-26 21:12:00 -04:00
package.json Initial pass 2019-06-26 21:12:00 -04:00

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 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