Sha256: 04c947e0c893fd4c310d55ab95bfeed885056fb90dc37ae99b376633d2ba624f
Contents?: true
Size: 359 Bytes
Versions: 90
Compression:
Stored size: 359 Bytes
Contents
if ( typeof Object.getPrototypeOf !== "function" ) { if ( typeof "test".__proto__ === "object" ) { Object.getPrototypeOf = function(object){ return object.__proto__; }; } else { Object.getPrototypeOf = function(object){ // May break if the constructor has been tampered with return object.constructor.prototype; }; } }
Version data entries
90 entries across 90 versions & 2 rubygems