JSFiddle - React, Tailwind, and code Playground

JavaScript

n=0;
for(i=0;i<10;i++){
    n+=.1
    alert(n);
}