Jorge Valle

Jorge Valle

Jorge Valle is a front end developer with a particular passion for, and expertise in, JavaScript and user interfaces. Lately, he's also been diving into machine learning.

Concatenating arrays in JS, with concat()

Concatenating arrays is a fairly common operation.

A cool way of doing it, and one that leaves the original unmutated, is to use the concat() method of the array prototype.

Panoramic view of the port of Rijeka, Croatia's largest