小宝贝 2332bb7261 node 2 years ago
..
.github 2332bb7261 node 2 years ago
test 2332bb7261 node 2 years ago
.editorconfig 2332bb7261 node 2 years ago
.eslintrc 2332bb7261 node 2 years ago
.nycrc 2332bb7261 node 2 years ago
CHANGELOG.md 2332bb7261 node 2 years ago
LICENSE 2332bb7261 node 2 years ago
README.md 2332bb7261 node 2 years ago
index.js 2332bb7261 node 2 years ago
package.json 2332bb7261 node 2 years ago

README.md

functions-have-names Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

Does this JS environment support the name property on functions?

Example

var functionsHaveNames = require('functions-have-names');
var assert = require('assert');

assert.equal(functionsHaveNames(), true); // will be `false` in IE 6-8

Tests

Simply clone the repo, npm install, and run npm test