Javascript String Iterate on chars

Description

Javascript String Iterate on chars


let myString = "The quick brown fox.";

for (let i = 0; i < myString.length; i++)
  console.log( myString.charAt(i) + "-");



PreviousNext

Related