An ES2015 spec-compliant
Function.prototype.name shim. Invoke its "shim" method to shim Function.prototype.name if it is unavailable.
Function#name requires a true ES5 environment - specifically, one with ES5 getters.
Most common usage:
var functionName = ;var assert = ;assert;functionName;assert;
Simply clone the repo,
npm install, and run