EDIT:
It's been fixed in Chrome Version 132.0.6834.111 (Official Build) (arm64)
Issue: https://issues.chromium.org/issues/390568195
This site should demonstrate if your browser has problems with large objects. It yields undefined value if you try to access a very large object. At the same time, similar logic using new Map() works ok.
If you see Object: broken it means your browser's JS is broken ¯\_(ツ)_/¯
Preview the source code of the page to see how it works.
Object:
Map:
Broken Browsers:
- Google Chrome / Version 132.0.6834.84 (Official Build) (arm64)
- Brave / Version 1.74.48 Chromium: 132.0.6834.83 (Official Build) (arm64)
Working Browsers:
- Safari / Version 18.1.1 (20619.2.8.11.12)