Bolshakova Anna ab21a11190 lab 2 weeks ago
..
.github ab21a11190 lab 2 weeks ago
test ab21a11190 lab 2 weeks ago
.editorconfig ab21a11190 lab 2 weeks ago
.eslintrc ab21a11190 lab 2 weeks ago
.nycrc ab21a11190 lab 2 weeks ago
CHANGELOG.md ab21a11190 lab 2 weeks ago
LICENSE ab21a11190 lab 2 weeks ago
README.md ab21a11190 lab 2 weeks ago
index.js ab21a11190 lab 2 weeks ago
package.json ab21a11190 lab 2 weeks 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