JSFiddle - React, Tailwind, and code Playground

by helgatheviking

JavaScript

for (let step = 0; step < 10; step++) {
  // Runs 5 times, with values of step 0 through 4.
  console.log("Walking east one step", (step+1)%3) ;
}