Text reversing generator

AccuRever | CLI

This shows when you put you text in the function parameter and automatically reversing your code by using a decrementing loop

Source code

const print = (str) => console.log(str);
const yr = “Yerenzter”
const reverse = (str) => {
for(var r=str.length-1; r > -1; r–) {
print(str[r])
}
}

print("Original Text: " + yr)

print("Reversed Text: ")
reverse(“Yerenzter”)