[, var] syntax javascript code example
Example 1: variable javascript
//You can make a variable by using:
var variable-name = 'defenition of the variable';
// Or you can use
let variable-name = 'defenition of the variable';
Example 2: Create variable javascript
//Assigns the value bar to the variable foo
var foo = bar;