|
9 月之前 | |
---|---|---|
.. | ||
.github | 9 月之前 | |
test | 9 月之前 | |
.editorconfig | 9 月之前 | |
.eslintrc | 9 月之前 | |
.nycrc | 9 月之前 | |
CHANGELOG.md | 9 月之前 | |
LICENSE | 9 月之前 | |
README.md | 9 月之前 | |
index.js | 9 月之前 | |
package.json | 9 月之前 |
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