Sha256: a6f0cb10a8015d386fb71416031b55fa0df423a69da629f4a07aadb4763acb12
Contents?: true
Size: 334 Bytes
Versions: 76
Compression:
Stored size: 334 Bytes
Contents
module.exports = Object.setPrototypeOf || ({__proto__:[]} instanceof Array ? setProtoOf : mixinProperties); function setProtoOf(obj, proto) { obj.__proto__ = proto; return obj; } function mixinProperties(obj, proto) { for (var prop in proto) { if (!obj.hasOwnProperty(prop)) { obj[prop] = proto[prop]; } } return obj; }
Version data entries
76 entries across 68 versions & 13 rubygems