js for in array javascript code example
Example 1: for of array javascript
let colors = ['red', 'green', 'blue'];
for (const color of colors){
console.log(color);
}
Example 2: array
// An array in javascript is basicly a data structure set out like this:
const MyArray = {"Object1", "Object2", "Object3"};