creating a javascript function to reverse a word
<p>Hi am trying to create a javascript function to reverse a word, but it seems the for loop is not begin executed and the holder variable is not being append in the for loop.</p>

<pre><code>function jump(str){
    var holder ="";
    var len = str.length-1;
    for(var i =len; i == 0; i--){
        holder += str[i];
    }
    return holder;
}
console.log(jump("Just do it!"))
</code></pre>