JavaScript中return的用法详解

转载于吴雨欣

https://www.cnblogs.com/wuyuxin/p/7017246.html

 

return返回的值为Number、Boolean!

这也就解释了,为什么输入错误,焦点一直停留在某个区域!

posted @ 2018-03-20 17:15  Sunsin  阅读(258)  评论(0)    收藏  举报