Array.from and Array-Like Objects
Converting iterables and array-like objects (things with a length and indices but no array methods) into real arrays, optionally with a mapping function.
Array.from() is the standard way to convert both iterables and array-like objects (things that merely have a .length property and indexed properties, but no Symbol.iterator or Array.prototype methods) into a genuine Array instance. This distinction between 'iterable' and 'array-like' trips people up regularly.
Array.from is like a customs officer who accepts either a passport (a genuine iterable) or, failing that, a numbered ticket stub with a stated headcount (an array-like's length and indices) — either way, everyone gets issued a real visitor badge (a genuine Array) with full building access afterward.