Bakhtina Sofya b84cb877be 1st comm | hai 3 semanas | |
---|---|---|
.. | ||
.github | hai 3 semanas | |
test | hai 3 semanas | |
.editorconfig | hai 3 semanas | |
.eslintrc | hai 3 semanas | |
.nycrc | hai 3 semanas | |
CHANGELOG.md | hai 3 semanas | |
LICENSE | hai 3 semanas | |
README.md | hai 3 semanas | |
index.js | hai 3 semanas | |
package.json | hai 3 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