En utilisant un tableau comme paramètre d'une fonction

function test([a, b])
{



console.log(a);
console.log(b);

}


function run()
{

	test(["aaaaa", "bbbbbbb", "cccccc", "ddddddd", "eeeee"])
}
/*note that not every element was used in the function*/
Javasper