Understanding Array.from() in JavaScript. This tutorial explains how to use Array.from() function in javascript. The Array.from() method creates a new, shallow-copied Array instance from an array-like or iterable object.