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

Does the current JS environment have strict mode? ES5+ should; but let's not assume.

License

NotificationsYou must be signed in to change notification settings

inspect-js/has-strict-mode

github actionscoveragedependency statusdev dependency statusLicenseDownloads

npm badge

Does the current JS environment have strict mode? ES5+ should; but let's not assume.

Example

varhasStrictMode=require('has-strict-mode');varassert=require('assert');assert.equal(hasStrictMode(),true);// will be `false` in IE 6-8

Tests

Simply clone the repo,npm install, and runnpm test

About

Does the current JS environment have strict mode? ES5+ should; but let's not assume.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks


[8]ページ先頭

©2009-2025 Movatter.jp