Skip to content
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
3 changes: 1 addition & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,7 @@ function ArrayList (limit) {
if (isNill(elem)) throw ArrayListError('ENOELEM', 'Provide a valid element')
if (list.isFull()) throw ArrayListError('ENOADD', "It's full.")

list[index] = elem
++index
list[index++] = elem
return list
}
})
Expand Down