Syntax
const arr2 = Array.from(arguments);If a value is JavaScript Iterables (as all Array-like DOM data structure are by now), you can also use the Spread (…) operator (…) to convert it to an JavaScript Arrays:
const arr1 = [...'abc'];
// ['a', 'b', 'c']
const arr2 = [...new Set().add('a').add('b')];
// ['a', 'b']