DEV Community

Discussion on: 8 Ridiculously Simple Javascript Tricks Not Taught on Tutorials

Collapse
 
mellen profile image
Matt Ellen

Arrays do have slice.

Collapse
 
veebuv profile image
Vaibhav Namburi

You're right lol, how did I miss that. Since arrays act like string stacks anyway. Fixed it :)

Some comments have been hidden by the post's author - find out more