2 Write a custom code and reverse string without any pre define function.
Anonymous
var a ="rahul"; var strlength = a.length; var b=''; for(i=strlength-1;i>=0;i--){ console.log(a[i]); b += a[i]; } console.log(b);
Check out your Company Bowl for anonymous work chats.