• #dev 2020-05-08
  • Prev
    Next
  • #indieweb
  • #dev
  • #wordpress
  • #meta
  • #stream
  • #microformats
  • #known
  • #events
#dev ≡
  • ←
  • →
2020-05-08 UTC
# 23:51
fuzzyBear
function reverseStringOne(string){ let reversed = ""; //Where the reversed string will be held for(index = string.length-1; index >=0; index--){ //Starting the loop at the end of the string, ending when the string hits 0, we are decreasing the count : reversed += string[index]; //Adding each letter to the reversed string } return reversed;//Returns the string reversed }