function convertArray() {
return [].slice.call(arguments);
}
console.log(convertArray(2,4,6,8));
JS-arguments オブジェクトを配列に変換
-------------------------
A [Pen](https://codepen.io/taquaki/pen/yPpPBV) by [Takaaki Sato](https://codepen.io/taquaki) on [CodePen](https://codepen.io).
[License](https://codepen.io/taquaki/pen/yPpPBV/license).