mirror of
https://github.com/status-im/realm-js.git
synced 2025-01-10 06:15:49 +00:00
0055d0510c
Rather than using Object.preventExtensions to throw exceptions when setting any out-of-bounds index, we must instead compromise by only throwing for the common cases, which are -1 and list.length. Having Object.keys() support is essential for List to work with React Native ListViewDataSource. Resolves #80