loading...

Discussion on: Array Chunking

basitali profile image
Basit Ali Mundia

Couldn't have explained it better.

Thread Thread
ryanfarney3 profile image
Ryan Farney Author

Thank you Basit and Jason for clearing this up! I certainly should have mentioned the dangers of mutating our original dataset.

Nonetheless, having knowledge of how to use .splice as well as it's dangers could show mastery of JS in the context of an interview <3