Óû§Ãû£ºÄäÃûÓû§
1-----undefƬúÓÑined
string
boolean
**mber
object-------¶ÔÏó»òÕß**ll·µ»ØµÄÊÇobject
function
ÆëĿսÀà´ËÕâЩÊÇtypeof·µ»ØµÄ×ïÁÏÁ¿±ê×°´´¿íÒ²°¡½ÚÀàÐÍ×Ö·û´®
2------varbox£»
alert(box);ûÓÐÎüµÛάÊ**¹³ª×ãΧÓѵ½³õʼ»¯µÄ±äÁ¿¾ÍÊÇundefined
3-----alert(typeofbox);
4-----varboÂÞÒÂÒâÃü¿¼ÐèʧÑó¹ÙÂýËx={}£»
alert(typeofbox);
¾ÍÊÇobject
5-----varbox={ÀàÀ×°üÉܵIJ®·þ»¬Ð¦´´ÒÂ};
alert(box);
¾ÍÊÇ[objectobject]
6--µÈÇà¾ÆËêÏßͨ--**llÅÉÉú×Ôobject
²è¶·¸ùÖ¾Êõ½Ï±ä¸ÖÒÒ7---varbox=newobject();
alert(boÂÖ·¿Ò©³Ðx);
8----funÃÅÅÉÆÕ¹ã×î´Ëctionking(){}
alert(king);
9-----varbox="wjje";
alert(typeof"wjje");
alert(typeofbox);
10-----typeofÊÇÄÚÖõIJÙ×÷·û¶ø·Çº¯Êý
11-----²»¸³ÖµµÄʱºò¾ÍÊÇundefined