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

Coerce load/store indexes with ToNumber. #334

Merged
merged 1 commit into from
Mar 14, 2016
Merged

Coerce load/store indexes with ToNumber. #334

merged 1 commit into from
Mar 14, 2016

Conversation

stoklund
Copy link

Don't require load/store indexes to be integers. Coerce the argument to a
number first, and then require that the resultant number is an integer.

Fixes issue #328.

Don't require load/store indexes to be integers. Coerce the argument to a
number first, and then require that the resultant number is an integer.

Fixes issue #328.
@littledan
Copy link
Member

LGTM

littledan added a commit that referenced this pull request Mar 14, 2016
Coerce load/store indexes with ToNumber.
@littledan littledan merged commit 612e80b into tc39:master Mar 14, 2016
@stoklund stoklund deleted the coerce-index branch March 15, 2016 16:15
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.

2 participants