wuxiang da9bc82d52 commit 2 年之前
..
.github da9bc82d52 commit 2 年之前
test da9bc82d52 commit 2 年之前
.editorconfig da9bc82d52 commit 2 年之前
.eslintrc da9bc82d52 commit 2 年之前
.nycrc da9bc82d52 commit 2 年之前
CHANGELOG.md da9bc82d52 commit 2 年之前
LICENSE da9bc82d52 commit 2 年之前
README.md da9bc82d52 commit 2 年之前
index.js da9bc82d52 commit 2 年之前
package.json da9bc82d52 commit 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