is-keyword-js
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -69,3 +69,3 @@ 'use strict'; | ||
module.exports = function(str) { | ||
return !!reservedKeywords[str]; | ||
return reservedKeywords.hasOwnProperty(str); | ||
}; |
{ | ||
"name": "is-keyword-js", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "A simple way to check if a string is a keyword or reserved keyword in JavaScript", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2622