mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-08 01:27:31 +00:00
In doing so, this fixes a few minor issues: 1. We were accessing the "unicode" and "lastIndex" properties out of order. This is somewhat frequently tested by test262, but not in this case. 2. We were doing a Value::to_object() followed by Object::get(), rather than just Value::get() as the spec dictates. 3. We were TRYing a step (CreateDataPropertyOrThrow) that should never fail, and should have been a MUST.