add book.js

This commit is contained in:
nick
2018-03-03 12:11:07 +08:00
parent 51d82157f0
commit a22a8a1bd3
435 changed files with 27430 additions and 0 deletions

25
node_modules/lodash/internal/getFuncName.js generated vendored Normal file
View File

@ -0,0 +1,25 @@
var realNames = require('./realNames');
/**
* Gets the name of `func`.
*
* @private
* @param {Function} func The function to query.
* @returns {string} Returns the function name.
*/
function getFuncName(func) {
var result = (func.name + ''),
array = realNames[result],
length = array ? array.length : 0;
while (length--) {
var data = array[length],
otherFunc = data.func;
if (otherFunc == null || otherFunc == func) {
return data.name;
}
}
return result;
}
module.exports = getFuncName;