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

Determine if the JS environment has private fields (`class { #x; }`) support.

License

NotificationsYou must be signed in to change notification settings

inspect-js/has-private-fields

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

dependency statusdev dependency statusLicenseDownloads

npm badge

Determine if the JS environment has private fields (class { #x; }) support.

Example

varhasPrivateFields=require('has-private-fields');hasPrivateFields()===true;// if the environment has native class private fields support

Tests

Simply clone the repo,npm install, and runnpm test

About

Determine if the JS environment has private fields (`class { #x; }`) support.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks


[8]ページ先頭

©2009-2025 Movatter.jp