Bolshakova Anna ab21a11190 lab | hai 2 semanas | |
---|---|---|
.. | ||
.github | hai 2 semanas | |
test | hai 2 semanas | |
.editorconfig | hai 2 semanas | |
.eslintrc | hai 2 semanas | |
.nycrc | hai 2 semanas | |
CHANGELOG.md | hai 2 semanas | |
LICENSE | hai 2 semanas | |
README.md | hai 2 semanas | |
index.js | hai 2 semanas | |
package.json | hai 2 semanas |
Does this JS environment support the name
property on functions?
var functionsHaveNames = require('functions-have-names');
var assert = require('assert');
assert.equal(functionsHaveNames(), true); // will be `false` in IE 6-8
Simply clone the repo, npm install
, and run npm test