Skip to content

Instantly share code, notes, and snippets.



Created Dec 17, 2014
What would you like to do?
#js #polyfill
if (typeof Object.create !== 'function') {
Object.create = function (o) {
function F() {}
F.prototype = o;
return new F();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.