Skip to content
This repository was archived by the owner on Jan 26, 2022. It is now read-only.

Conversation

@stoklund
Copy link

Use the same algorithm as DataView
objects
:

  • Coerce the index argument to a number with ToNumber().
  • Throw a RangeError if the index is not an integer.

Also add a missing '_' to the nearby elementLength computation.

Use the same algorithm as [DataView
objects](https://tc39.github.io/ecma262/#sec-getviewvalue):

- Coerce the index argument to a number with ToNumber().
- Throw a RangeError if the index is not an integer.

Also add a missing '_' to the nearby elementLength computation.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant