JSFiddle - React, Tailwind, and code Playground
HTML
<script src="https://getfirebug.com/firebug-lite-debug.js"></script>
JavaScript
var arr =[ 1,2,3,4,5]
// loop through the array lenghth then each item its square
for (var i=0; i< arr.length; i++){
console.log(arr[i])
arr.push('boom')
}