functions-have-names <sup>Version Badge</sup>

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 - Installation

To install functions-have-names via this registry, you'll need to install via the --registry parameter with your package manager.

n

NPM

npm install functions-have-names --registry https://js.registry.sudovanilla.org

Learn more about the --registry parameter.

Yarn

yarn config set registry https://js.registry.sudovanilla.org
yarn install functions-have-names

Learn more about the config option.

PNPM

pnpm install functions-have-names --registry https://js.registry.sudovanilla.org

Learn more about the --registry parameter.

Bun Logo

Bun

bun install functions-have-names --registry https://js.registry.sudovanilla.org

Learn more about the --registry parameter.

Learn more about setting this up in your bunfig.toml configuration.


For Deno, add the following to your .npmrc file in your directory:

registry="https://js.registry.sudovanilla.org"

Then run the deno install command.

functions-have-names - Download

Download Tarball (v1.2.3)

Integrity sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==
SHASUM 0404fe4ee2ba2f607f0e0ec3c80bae994133b834
Tarball https://js.registry.sudovanilla.org/functions-have-names/-/functions-have-names-1.2.3.tgz