caoge c760052ff9 机车状态修改 | hai 8 meses | |
---|---|---|
.. | ||
.github | hai 8 meses | |
test | hai 8 meses | |
.editorconfig | hai 8 meses | |
.eslintrc | hai 8 meses | |
.nycrc | hai 8 meses | |
CHANGELOG.md | hai 8 meses | |
LICENSE | hai 8 meses | |
README.md | hai 8 meses | |
index.js | hai 8 meses | |
package.json | hai 8 meses |
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