Skip to content
This repository has been archived by the owner on Mar 10, 2024. It is now read-only.

Small spec-text fix #9

Merged
merged 2 commits into from
Jan 30, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ When the SetLastArrayItem method is called, the following steps are taken:

Let O be ? ToObject(this value).
Let len be ? ToLength(? Get(O, "length")).
If len is zeo, then
If len > 0, then
Set len to len-1
Let index be ! ToString(len).
Return ? Set(O, index, value).
Expand Down