JSFiddle - React, Tailwind, and code Playground

by Geo Morillo

HTML

<div id="screen">Screen</div>

JavaScript

[1,1,1,1].forEach(o);
function o(element, index, array){
    
    if(array[index] && array[index+1]){
       $("#screen").text("V");
    }
    
    
}