0

I don't really have a good way to explain in words what i wont to do.So im just going to have an example.

this is what the variable would be before.

var foo ="foo";

this is what i wont it be after.

var foo ="oof";

I hope that you under stand what i'm asking!

Thinks !

random soup dog
  • 159
  • 1
  • 1
  • 8

1 Answers1

1

Try this:

var foo="start".split("").reverse().join("");
Thomas Junk
  • 5,588
  • 2
  • 30
  • 43