I started learning JavaScript last week, I saw this code yesterday and I did some research about it, but now I can't figure what it does:
var y=document.forms['post'];
var x=y.message.value;
x=x.replace(/It would help if you supplied some of the html for the page (the post form).
以上就是Need an explanation for this javascript code的详细内容,更多请关注web前端其它相关文章!