MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/learnjavascript/comments/nnlubt/really_helpful_illustration_of_js_array_methods/gzvpowt/?context=3
r/learnjavascript • u/192_168_1_x • May 29 '21
89 comments sorted by
View all comments
15
Two small issues:
Order of arguments: .fill(value, start)
.fill(value, start)
The method names are .findIndex() and .indexOf().
.findIndex()
.indexOf()
15
u/rauschma May 29 '21
Two small issues:
Order of arguments:
.fill(value, start)The method names are
.findIndex()and.indexOf().