Question: Create a for loop that counts backwards from the value of the length / / property of myString. Using that value with the charAt (

Create a for loop that counts backwards from the value of the length
// property of myString. Using that value with the charAt() method, add
// one letter to the variable myValue until myValue holds the value of
// myString backwards. Therefore, if myString = "computer", myValue should
// equal "retupmoc". Also, remember to trim() any extra spaces and set all
// letters toLowerCase(). For example, if myString = "Fort Hays", myValue
// should equal "syahtorf". And "Taco Cat" results in "tacocat". in JavaScript

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!