This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var HOP = Object.prototype.hasOwnProperty.call.bind(Object.prototype.hasOwnProperty); | |
//Checks the prototype chain to see if the "giver" "gave" the "key" to the "obj". | |
Object.gave = function(giver,key,obj) { | |
//If there are 2 arguments instead of 3, use the Function.prototype method. | |
if (arguments.length === 2) { | |
Function.prototype.gave.apply(this,arguments); | |
} | |
var last_prototype; |
NewerOlder