![]() |
|
|
+ Search |
![]()
|
May 15th, 2001 09:52
Thor Larholm, Peter Parker,
Use the typeof operator to determine the type of an object, even if it
doesn't exists, e.g.:
if (typeof something == "function"){
something('somestring')
}
typeof operator:
http://msdn.microsoft.com/scripting/jscript/doc/jsoprtypeof.htm