can we declare variables together in javascript code example
Example 1: define two variables in one line javascript
var [a,b,c,d] = [0,1,2,3]
Example 2: js variables
// let & var are both editable variables:
var cow = 'moo';
let pig = 'oink';
cow = 10;
pig = 10;
// const is a permanent variable; you cannot change it.
const uncuttableGrass = '\/\/';
uncuttableGrass = '___';
// above throws an error