nixos/home/ags/node_modules/functions-have-names
2024-06-13 00:09:21 +02:00
..
.github ags 2024-06-13 00:09:21 +02:00
test ags 2024-06-13 00:09:21 +02:00
.editorconfig ags 2024-06-13 00:09:21 +02:00
.eslintrc ags 2024-06-13 00:09:21 +02:00
.nycrc ags 2024-06-13 00:09:21 +02:00
CHANGELOG.md ags 2024-06-13 00:09:21 +02:00
index.js ags 2024-06-13 00:09:21 +02:00
LICENSE ags 2024-06-13 00:09:21 +02:00
package.json ags 2024-06-13 00:09:21 +02:00
README.md ags 2024-06-13 00:09:21 +02:00

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