let strGreet = "Hello"; let strReverse = ""; for (i = strGreet.length - 1; i > -1; i--) { strReverse += strGreet[i]; } console.log(strReverse);