Returns true if the specified object is of the specified object type.
Syntax
object instanceof objectTypeExample
theDay=new Date(1995, 12, 17)
if (theDay instanceof Date) {
doThis;
}
本文档基于 CC协议(Creative Commons Share-Alike License)发布,是developer.mozilla.com, www.mozref.com和www.aptana.com共同劳动的成果。