root e2ef550dc3 update 2 年 前
..
.github e2ef550dc3 update 2 年 前
test e2ef550dc3 update 2 年 前
.editorconfig e2ef550dc3 update 2 年 前
.eslintrc e2ef550dc3 update 2 年 前
.nycrc e2ef550dc3 update 2 年 前
CHANGELOG.md e2ef550dc3 update 2 年 前
LICENSE e2ef550dc3 update 2 年 前
README.md e2ef550dc3 update 2 年 前
index.js e2ef550dc3 update 2 年 前
package.json e2ef550dc3 update 2 年 前

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