|
|
pirms 1 gada | |
|---|---|---|
| .. | ||
| .github | pirms 1 gada | |
| test | pirms 1 gada | |
| .editorconfig | pirms 1 gada | |
| .eslintrc | pirms 1 gada | |
| .nycrc | pirms 1 gada | |
| CHANGELOG.md | pirms 1 gada | |
| LICENSE | pirms 1 gada | |
| README.md | pirms 1 gada | |
| index.js | pirms 1 gada | |
| package.json | pirms 1 gada | |
Does this JS environment support the name property on functions?
var functionsHaveNames = require('functions-have-names');
var assert = require('assert');
assert.equal(functionsHaveNames(), true); // will be `false` in IE 6-8
Simply clone the repo, npm install, and run npm test