{"ast":null,"code":"import realNames from './_realNames.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Gets the name of `func`.\n *\n * @private\n * @param {Function} func The function to query.\n * @returns {string} Returns the function name.\n */\nfunction getFuncName(func) {\n  var result = func.name + '',\n    array = realNames[result],\n    length = hasOwnProperty.call(realNames, result) ? array.length : 0;\n  while (length--) {\n    var data = array[length],\n      otherFunc = data.func;\n    if (otherFunc == null || otherFunc == func) {\n      return data.name;\n    }\n  }\n  return result;\n}\nexport default getFuncName;","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}