javascript for turn string in revser order code example Example: javascrip reverse text //more compact way: "my example text".split("").reverse().join("");