multiple assignment javascript

Solutions on MaxInterview for multiple assignment javascript by the best coders in the world

showing results for - "multiple assignment javascript"
Paisley
09 Feb 2019
1// Longhand
2let a, b, c; 
3a = 1; 
4b = 2; 
5c = 3;
6 
7// Shorthand 
8let [a, b, c] = [1, 2, 3];