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