1.is——Åж϶ÔÏó/ÀàÊÇ·ñÊôÓÚijһÀ࣬·µ»Ø²¼¶ûÖµ
Àý£º123 is Number
·µ»Ø:true
Àý£ºint is Object
·µ»Ø£ºtrue
2.as——Åж϶ÔÏó/ÀàÊÇ·ñÊôÓÚijһÀ࣬³É¹¦·µ»Ø¶ÔÏó±¾Éí£¬Ê§°Ü·µ»Ønull
Àý: 123 as uint
·µ»Ø£º123
Àý£º123 as string
·µ»Ø£ºnull
×¢£ºÔںܶàÇé¿öÏ£¬ÀàÐͲ»·ûʱ±àÒëÆ÷»á×Ô¶¯½øÐÐas²Ù×÷
ÀûÓÃas£¬ÎÒÃÇ¿ÉÒÔÔÚ²»Ç¿×ª»»µÄÇ°ÌáÏÂcall³ö´úÂëÌáʾ
3.Class(object)——ǿת»»£¬¿ÉÄܶªÊ§Êý¾Ý£¬ÊÊÓ÷¶Î§½Ï¹ã£¬Ê§°ÜÅ׳ö´íÎó
Àý£ºint(123.45)
·µ»Ø 123
4.typeof——ÒÔ×Ö·û´®ÐÎʽ·µ»Ø¶ÔÏóµÄÀàÐÍ£¬²»ÍƼöʹÓÃ
Àý£ºtypeof "test"
·µ»Ø£º"string"
5.instanceof——ºÍisÏàͬ£¬µ«²»ÄÜÅжϽӿڣ¬²»ÍƼöʹÓÃ
6.getDefinitionByName——¸ù¾ÝÀàÃû»ñÈ¡Àà
7.getQualifiedClassName——»ñÈ¡ÍêÕûÀàÃû
8.getQualifiedSuperclassName——»ñÈ¡ÍêÕû¸¸ÀàÃû
9.constructor¸ù¾Ý¶ÔÏó»ñÈ¡À࣬ÐèҪת»»ÎªObject¶ÔÏó·ñÔò±àÒ벻ͨ¹ý
Àý£ºobj1.constructor
·µ»Ø£º[class Object]
ÓêÉùÇÃÇÃ
2013-5-8