Change arguments object into array

An example showing how to change arguments object into array using Tizen 2.3.
function test(/* arguments */) {
  var args = Array.prototype.slice.call(arguments);
  console.log(args);
}

test(1, 2, 3, 4);

Responses

0 Replies