标签: javascript array.prototype.map
这是我尝试过的,我需要得到的:
function f(obj) { console.log(obj.name) // 'map' console.log(Object.getPrototypeOf(obj) // 'ƒ () { [native code] }' console.log(/* How to get 'Array.prototype.map'? */); } f(Array.prototype.map);