feature-detect-es6
Detect which ES6 features are available.
Example
var detect = require('feature-detect-es6')
if (detect.class() && detect.arrowFunction()){
} else {
}
detect.class() ⇒ boolean
Returns true if the class
statement is available.
Kind: static method of feature-detect-es6
detect.arrowFunction() ⇒ boolean
Returns true if the arrow functions available.
Kind: static method of feature-detect-es6
detect.let() ⇒ boolean
Returns true if the let
statement is available.
Kind: static method of feature-detect-es6
detect.const() ⇒ boolean
Returns true if the const
statement is available.
Kind: static method of feature-detect-es6
© 2015 Lloyd Brookes <75pound@gmail.com>. Documented by jsdoc-to-markdown.