In JavaScript, it is possible to declare multiple variables like this:
var variable1 = "Hello, World!"; var variable2 = "Testing..."; var
ECMAScript 2015 introduced destructuring assignment which works pretty nice:
a will equal 1 and b will equal 2.
a
1
b
2