r/backtickbot • • Mar 30 '21

https://np.reddit.com/r/learnjavascript/comments/mfp2k5/js_assigning_values_to_multiple_variables/gsr6y5u/

The shorthand has more legwork done, create arrays, iterate to assing the values, it is more in fact thats why it is called a shorthand, nothing better than assigning separatelly the variables.

let a = 1;
let b =  2;
let c = 3;
1 Upvotes

0 comments sorted by