04 2009 档案
摘要: 近期做项目对JavaScript的类型判断用到了很多,由于有时候用typeof 有时候用 === 有时候用constructor,弄得自己有些头大,于是做了下面最简单的一个代码测试。从测试结果我得出,要判断严格判断一个变量的类型应该用 === + typeof,=== + typeof 可以准确判断出5种类型,分别是:number, string, boolean, undefined, func...阅读全文
摘要: asp 的正则表达式资料 网上很多,但是很多讲的不完整,从一个E文的文章上看到了个究竟,下面举例说明如何使用[代码]原文是这样说滴:“The MatchCollection object returned by the RegExp.Execute method is a collection of Match objects. It has only two read-only pr...阅读全文