Array.from(arguments) worse in some way then
Array.prototype.slice.call(arguments) for creating an array of arguments? I haven't seen the former used anywhere, and the latter seems to be the standard way to create an arguments array from what I have read. Is anyone able to explain the difference?
Array.from() is the ES6 specified method of creating an Array object from any array-like object or iterable object.
var arr = Array.from(arguments)
is a text book example of what it is designed for and it is designed to replace the former work-arounds such as:
var arr = Array.prototype.slice.call(arguments)
The only catch is that this is ES6 functionality and thus is present only in the newest browsers. To use it safely across many browsers, you can either install a polyfill like the one here on MDN or you can transpile your ES6 code into ES5 compatible code using something like BabelJS.