Reverse a string without inbuilt functions of JavaScript.
Anonymous
function revrsStr(str){ var a = ""; for(let i = str.length-1; i > 0; i++){ a +=str[i] } return a } console.log(revrsStr('JavaScript'));
Check out your Company Bowl for anonymous work chats.