correct syntax to create an array in JavaScript code example
Example: how i create array in javascript
var fruits = ['Apple', 'Banana'];
console.log(fruits.length);
// 2
var fruits = ['Apple', 'Banana'];
console.log(fruits.length);
// 2