root e2ef550dc3 update 2 years ago
..
.github e2ef550dc3 update 2 years ago
test e2ef550dc3 update 2 years ago
.editorconfig e2ef550dc3 update 2 years ago
.eslintrc e2ef550dc3 update 2 years ago
.nycrc e2ef550dc3 update 2 years ago
CHANGELOG.md e2ef550dc3 update 2 years ago
LICENSE e2ef550dc3 update 2 years ago
README.md e2ef550dc3 update 2 years ago
index.js e2ef550dc3 update 2 years ago
package.json e2ef550dc3 update 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