1 var realNames = require(
'./_realNames');
4 var objectProto = Object.prototype;
7 var hasOwnProperty = objectProto.hasOwnProperty;
16 function getFuncName(func) {
17 var result = (func.name +
''),
18 array = realNames[result],
19 length = hasOwnProperty.call(realNames, result) ? array.length : 0;
22 var data = array[length],
23 otherFunc = data.func;
24 if (otherFunc == null || otherFunc == func) {
31 module.exports = getFuncName;