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