Skip to content

Counter: Counter Powered by  RedCounter Categories:

MULTI ARRAY JS

var multi = new Array (
new Array(
new Array(1,2),
new Array(3,4)),
new Array(
new Array(”A”,”B”),
new Array(”C”,”D”))
);

Hasil :
=>multi[0][0]= 1,2;=>multi[1][0]= A,B;
=>multi[0][1]= 3,4;=>multi[1][1]= C,D;
=>multi[0][0][0]= 1;=>multi[1][0][0]= A;
=>multi[0][0][1]= 2; =>multi[1][0][1]= B;
=>multi[0][1][0]= 3;=>multi[1][1][0]= C;
=>multi[0][1][1]= 4; =>multi[1][1][1]= D;

Posted in JS.


0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.



Some HTML is OK

or, reply to this post via trackback.