forked from facebook/hermes
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix setting array elements through JSI
Summary: X-link: facebook/react-native#38521 `HermesRuntimeImpl::setValueAtIndexImpl` directly called `setElementAt`, which meant that it would not handle index-like properties properly. Use `putComputed_RJS` instead, which will check for such properties. Reviewed By: avp Differential Revision: D47617445 fbshipit-source-id: c3505670960bd6223bd014f138cee191267a5315
- Loading branch information
1 parent
e6afd14
commit 3a794e6
Showing
2 changed files
with
20 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters