You were right. I updated the sample in article. It is using `concat`.
> The concat() method returns a new array comprised of the array on which it is called joined with the array(s) and/or value(s) provided as arguments.
Taken from the MDN.
> The concat() method returns a new array comprised of the array on which it is called joined with the array(s) and/or value(s) provided as arguments.
Taken from the MDN.
No comments yet.