mirror of
https://github.com/hanzoai/babel.git
synced 2026-10-30 14:46:06 +00:00
9 lines
219 B
JavaScript
9 lines
219 B
JavaScript
function func() {
|
|
for (var _len = arguments.length, _arguments = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
_arguments[_key] = arguments[_key];
|
|
}
|
|
console.log(_arguments); // [1, 2, 3]
|
|
}
|
|
|
|
func(1, 2, 3);
|