mirror of https://github.com/boa-dev/boa.git
Browse Source
We store string `PropertyKey`s with two enums `String` and `Index` for performance reasons, but the spec does not differentiate between string and index property keys so before conversion to `JsValue` we have to convert to a string. This was failing tests like `Reflect.ownKeys([true, "", 1])` because it was returning (integer numbers) `[1, 2, 3]` instead of `['1', '2', '3']`pull/1889/head
Halid Odat
3 years ago
1 changed files with 1 additions and 7 deletions
Loading…
Reference in new issue