assign multiple variables in one line javascript code example
Example 1: define two variables in one line javascript
var [a,b,c,d] = [0,1,2,3]
Example 2: create multiple variables in one line js
var x, y, z;
var [a,b,c,d] = [0,1,2,3]
var x, y, z;