Seems like a bug yes but the array accesses are not as peculiar as you think they are, Nim has to emulate pointer semantics including `address of` somehow and JS pretty much only offers 1-element arrays to do so easily.
- Weird bug(?) with JS backend drkameleon
- Weird bug(?) with JS backend Araq
- Weird bug(?) with JS backend drkameleon
- Weird bug(?) with JS backend Zerbina
- Weird bug(?) with JS backend drkameleon