mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/47996 Getting and setting an Object's prototype is convoluted. Users have to call into the global object to get the method, then call it. This diff adds a JSI API for Object.getPrototype and Object.setPrototype to make it easy for users. Changelog: [Internal] Reviewed By: fbmal7 Differential Revision: D66562549 fbshipit-source-id: 85a2e49deb9d00500544de4cc5ab123c4717398e