1. var str="hello world"
    2. var str=str.split("").reverse("").join("");
    3. console.log(str);