Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on May 26, 2024 via pnpm

functions-have-names 1.2.3

Does this JS environment support the `name` property on functions?
Package summary
Share
0
issues
1
license
1
MIT
Package created
23 Jul 2019
Version published
19 Apr 2022
Maintainers
1
Total deps
1
Direct deps
0
License
MIT

Issues

0
This package has no issues

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
1 Packages, Including:
functions-have-names@1.2.3
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

0
All Dependencies CSV
β“˜ This is a list of functions-have-names 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities

Visualizations

Frequently Asked Questions

What does functions-have-names do?

The "functions-have-names" is a handy npm package acting as a utility to determine if the JavaScript environment supports the name property on functions. It's essential for developers who want to ensure compatibility across different JavaScript engines or execute certain code based on the feature support.

How do you use functions-have-names?

In order to leverage the functionality provided by "functions-have-names" package, a developer first needs to install it into their project via npm using the command npm install functions-have-names. Then, it can be used as shown in the example below:

var functionsHaveNames = require('functions-have-names');
var assert = require('assert');

assert.equal(functionsHave-names(), true);  // This will return `false` in environments like IE 6-8

The function functionsHaveNames() returns a boolean indicating the support for name property on functions in the current JS environment.

Where are the functions-have-names docs?

The main documentation for "functions-have-names" is located directly at its GitHub page (git+https://github.com/inspect-js/functions-have-names.git). You can find the necessary details within the README section. Apart from that, information about the package including its dependencies and version history can also be accessed via the npm package page (https://npmjs.org/package/functions-have-names).