Array and all its methods in Javascript
The Array in Javascript helps store a collection of multiple items under a single variable name and has different methods to perform various operations.
How to initialize an array?
let name = ["Mike","Samuel","Robert"];
Different array methods in Js...
ajaychauhan.hashnode.dev9 min read
Dean Tarisai
Software developer
Yesterday I failed a JS interview question about flattening arrays. Had forgotten about the Array.flat() method. An informative and memory jogging post.
Keep it up!