Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript map array values to single vars

a1 = 1;
a2 = 2;
aa = [a1, a2];
[b1, b2]= aa;

console.log(b1, b2);
 
PREVIOUS NEXT
Tagged: #javascript #map #array #values #single #vars
ADD COMMENT
Topic
Name
4+4 =