JSFiddle - React, Tailwind, and code Playground

by Xeon06

JavaScript

var n = 3;
for(var i = 0; i < n; i++)
    alert(i / (n - 1));