JSFiddle - React, Tailwind, and code Playground

by anand potta

JavaScript

function writeAlphabets()
{
    var A2Z = "ABCDEFGHIJKLMNOPQRSTUVWXYZ",
    i,
    nextAlph;
    
    for(i=0; i<A2Z.length; i++)
    {
        nextAlph = A2Z.charAt(i);
        console.log(nextAlph);
    }
}

writeAlphabets();