Skip to content

Instantly share code, notes, and snippets.

@WebReflection
Last active December 15, 2015 10:39
Show Gist options
  • Select an option

  • Save WebReflection/5247136 to your computer and use it in GitHub Desktop.

Select an option

Save WebReflection/5247136 to your computer and use it in GitHub Desktop.
A possible Object.setPrototypeOf(object, proto) polyfill from the unknown future of JS
@WebReflection

Copy link
Copy Markdown
Author

looks like in node this cannot work until the descriptor will implement a usable set method. fail

@ljharb

ljharb commented May 16, 2013

Copy link
Copy Markdown

Any update to this one? I'd love to see a fully functional one so I can include it in the ES6 shim :-)

@cscott

cscott commented Feb 27, 2014

Copy link
Copy Markdown

Looks like the functional one is https://gist.github.com/WebReflection/5593554

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment