DEV Community

Discussion on: JSByte: JavaScript Array Slice vs Splice: the Difference Explained with Cake

Collapse
 
shrutikapoor08 profile image
Shruti Kapoor

"Look Ma I am making ~tyops~! "
Thanks for bringing it to my attention! :) I have fixed the code - let myPieceOfCake = infiniteCake.slice(0,1)
It is a mango mousse cake! 🍰🥭