I started programming in 1995 with Microsoft BASIC on MS-DOS from a book I found in my father's library, and I slowly (having no real mentors) learned other programming languages by myself.
Might want to mention what the spread operator actually does, which is to spread the one argument to array.push(...arg) to multiple arguments like so: array.push(arg[0], arg[1], arg[2], ..., arg[n]).
Might want to mention what the spread operator actually does, which is to spread the one argument to
array.push(...arg)
to multiple arguments like so:array.push(arg[0], arg[1], arg[2], ..., arg[n])
.You're right, I didn't realise that people might not know what the ES6 spread operator does. Updated the article - thanks!