multiple assignment javascript

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

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
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];