functions-have-names
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/functions-have-names package

1.2.3 • Public • Published

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

/functions-have-names/

    Package Sidebar

    Install

    npm i functions-have-names

    Weekly Downloads

    28,258,666

    Version

    1.2.3

    License

    MIT

    Unpacked Size

    16.7 kB

    Total Files

    10

    Last publish

    Collaborators

    • ljharb