You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the "addToSet" and "removeFromSet" pasted below that appear after Exercise 14, shouldn't the double dots ".." be triple dots "..." in order to avoid requesting an element that does not exist?
addToSet = (set, values) ->
for i in [0..values.length]
set[values[i]] = true
removeFromSet = (set, values) ->
for i in [0..values.length]
delete set[values[i]]
The text was updated successfully, but these errors were encountered:
Hi,
In the "addToSet" and "removeFromSet" pasted below that appear after Exercise 14, shouldn't the double dots ".." be triple dots "..." in order to avoid requesting an element that does not exist?
addToSet = (set, values) ->
for i in [0..values.length]
set[values[i]] = true
removeFromSet = (set, values) ->
for i in [0..values.length]
delete set[values[i]]
The text was updated successfully, but these errors were encountered: