Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

ECMAScript spec abstract operations.

License

NotificationsYou must be signed in to change notification settings

ljharb/es-abstract

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

dependency statusdev dependency statusLicenseDownloads

npm badge

ECMAScript spec abstract operations.

Every operation is available by edition/year and by name - for example,es-abstract/2020/Call gives you theCall operation from ES2020,es-abstract/5/Type gives you theType operation from ES5.

All abstract operations are also available under anes5/es2015/es2016/es2017/es2018/es2019/es2020/es2021 entry point, and as a property on themain 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

varES=require('es-abstract');varassert=require('assert');assert(ES.isCallable(function(){}));assert(!ES.isCallable(/a/g));

Tests

Simply clone the repo,npm install, and runnpm test

Security

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

About

ECMAScript spec abstract operations.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Contributors11


[8]ページ先頭

©2009-2025 Movatter.jp