🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

functions-have-names

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

functions-have-names

Does this JS environment support the `name` property on functions?

1.2.3
latest
Version published
Weekly downloads
31M
-9.56%
Maintainers
1
Weekly downloads
 
Created

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

FAQs

Package last updated on 19 Apr 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts