Let the storm money come!

Js 中一个判断类型的方法

      判断类型的时候,常用的一种判断方法是  if ( str.constructor == Array ), 也就是用 constructor 这个东西,判断。
posted @ 2010-01-09 16:31  精密~顽石  阅读(128)  评论(0编辑  收藏  举报
在通往地狱的路上,加班能使你更快到达。