PromoCursed/node_modules/functions-have-names/README.md
2024-08-20 23:25:37 +04:00

1.8 KiB

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