function makeArray() { return Array.from(arguments);}let arr = makeArray('a', 'b', 'c');
Array.from()并不能算创建数组的一种方式,毕竟它的初衷是为了解决将非数组对象转换为数组的问题。
非数组对象