for of loop

let str=”suraj”;

for(let i of str){

    console.log(i);

}

Add a Comment

Your email address will not be published. Required fields are marked *