始终指定parseInt()的基数是非常有必要的。
javascript没有块级作用域。
全局变量或对象不再使用时释放其引用,可以使垃圾收集器在下次运行时将其收回。

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>