Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

Ò»´Î¾ªÏÕµÄjavascript¾­Àú£¬º¹£¬ÏÖÔÚÏëÏ붼ºóÅÂ

ÔÚ¿ª·¢Ò»¸ö½É·Ñ½»Ò×ʱ£¬ÏÈ·¢ËͲéѯÇëÇóµ½ÏµÍ³A£¬ÏµÍ³A·µ»ØÒ»¸ö×Ö·û´®¸ñʽµÄÇ··Ñ½ð¶î£¬ÒòΪÊǶ¨³¤µÄ£¬ËùÒÔ¶¼ÊÇÇ°²¹0£¬±¾À´ÐèÒªÏÈ×ö´¦ÀíµÄ£¬µ«ÊÇÓÉÓÚ²éѯ½á¹ûÈç¹ûÊÇÇ··ÑµÄ£¬¿Í»§·¢Æð½É·Ñ½»Ò×ʱ£¬»áË͸øϵͳBµÄ¸ñʽ£¬ÓëϵͳA·µ»ØµÄÊÇÒ»ÑùµÄ£¬Òò´Ë¾ÍÔ­Ñù±£´æÈ»ºóÉÏËÍ£¬¿ÉÊÇÔÚϵͳ²âÊÔʱ£¬È´·¢ÏÖÁËÒ»¸öÆæ¹ÖµÄÏÖÏó£¬ÏµÍ³A·µ»ØµÄ²éѯ½á¹ûÖУ¬Ç··Ñ½ð¶îÊÇ¡°00000100¡±£¬ÉÏËͺó£¬È´±ä³É¡°00000064¡±ÁË£¬½ð¶îÊÇÒÔ·ÖΪµ¥Î»µÄ£¬ËùÒÔÇ··Ñ1ÔªµÄ£¬±ä³ÉÉÏËͽɷÑʱÊÇ0.64ÔªÁË£¬¸Õ¿ªÊ¼Ò»Ö±²»µÃÆä½â£¬ºóÃæ²ÅÖªµÀÕâÊÇjavascriptµÄĬÈÏ´¦Àí¸ãµÄ¹í¡£ ³ÌÐòÖн«¡°00000100¡±×÷Ϊ²ÎÊý´«µÝ¸øÒ»¸öº¯Êý£¬ÔÚº¯ÊýÖдòÓ¡³öÀ´Õâ¸ö²ÎÊýµÄÖµ£¬ÒѾ­±ä³É8µÄƽ·½£¬64ÁË£¬ËùÒÔ×Ö·û´®ÔÚjavascriptÖд«µÝʱ£¬»áĬÈϱ»×ª»»³ÉÕûÊý´¦Àí£¬Õâ¾ÍÊǵ¼ÖÂÎÊÌâµÄ¸ù±¾Ô­Òò¡£Õâ´ÎÎÊÌâµÃ³öµÄ½ÌѵÊÇ£¬²»ÒªÍµÀÁ£¬±ØÐë¶ÔÊý¾Ý½øÐкÏÀíµÄת»»ºóÔÙÐд¦Àí¡£


Ïà¹ØÎĵµ£º

JavaScriptµ÷ÊÔ¼¼ÇÉÖ®£º¶Ïµãµ÷ÊÔ(1)


Èç¹ûÄú»¹Ã»ÓÐÔĶÁ¡¶JavaScriptµ÷ÊÔ¼¼ÇÉÖ®£º¿ìËÙ¶¨Î»¡·£¬½¨ÒéÏÈ¿´¿´ÄÇƪ¡£Ëµ²»¶¨£¬ÓÿìËÙ¶¨Î»¾ÍÄܽâ¾öÎÊÌâÁË£¬ºÇºÇ¡£Õâ´ÎÎÒ»á×ܽá¼Ç¼һ϶ϵãµ÷ÊԵıʼǣ¬Ï£ÍûÒ²¶Ô´ó¼ÒÓÐÓ㬻¶Ó­²¹³ä½»Á÷£¡
Ê×ÏÈ£¬ÔÚ¸÷¸öä¯ÀÀÆ÷ÖУ¬¶Ïµãµ÷ÊÔÖ§³ÖµÄ×îºÃµÄµ±È»ÊÇFirefox£¬Firefox²»½ö¿ÉÒÔʹÓÃFirebugµ÷ÊÔÒ³Ãæjs½Å±¾£¬»¹¿ÉÒÔÓø߼¶µ÷ÊÔ¹¤¾ßÀ ......

JavaScriptÖÐÄäÃûº¯Êý£¬º¯ÊýÖ±½ÓÁ¿ºÍ±Õ°ü(ת)

Ô­Îijö´¦: http://www.dnew.cn/post/196.htm
ÏÈ¿´ÏÂÏÂÃ漸ÖÖд·¨
1.function f(x){return x*x;};f(x);
2.(function(x){return x*x;})(x);
3.(function(x){return x*x;}(x));
µÚÒ»ÖÖÎÒÃÇÓ¦¸Ã¶¼ºÜÊìϤÁË£¬ÕâÊÇÎÒÃǾ­³£Ê¹ÓõÄд·¨¡£µÚ¶þµÚÈýÖÖ¶¼ÊÇÄäÃûº¯ÊýµÄд·¨¡£
------------------------------------------------ ......

JavaScript»ñÈ¡µ±Ç°Îļþȫ·¾¶¡¢µ±Ç°Ä¿Â¼¡¢µ±Ç°ÎļþÃû

//»ñÈ¡µ±Ç°Îļþȫ·¾¶
<script language="javascript"> 
alert(window.location.href); 
alert(window.location); 
alert(location.href); 
alert(parent.location.href); 
alert(top.location.href); 
alert(document.location.href); 
alert(document.URL);
</scri ......

Firefox ×îРJavaScript ÒýÇæ³õ̽

×Ô´Ó Google ÍƳöº¬ V8 JavaScript ÒýÇæµÄ Chrome ÒÔÀ´£¬¹«ÖÚ¶Ô JavaScript
ÒýÇæÖ´ÐÐЧÂʵÄθ¿ÚÓÖÒ»´Î±»Ìá¸ß£¬ÖÚ¶àä¯ÀÀÆ÷µÄ¿ª·¢ÕßÃǽʾ¡ÄÔÖ­ÌáÉýËûÃÇµÄ JavaScript ÐÔÄÜ£¬Opera ×îеÄ10.50 °æµÄ Carakan

ÒýÇæ¾Ý³ÆÒѾ­³¬¹ý V8£¬¶ø Firefox µÄ¿ª·¢ÕßÃÇÒ²²»¸ÊʾÈõ¡£
×î½üÉý¼¶µ½ Firefox 3.6 µÄÓû§ÒѾ­·¢ÏÖËûÃÇµÄ Java ......

Îò͸javascript [ÍƼö¸øÕÅ´ó¸ç¿´]

Òý×Ó
    ±à³ÌÊÀ½çÀïÖ»´æÔÚÁ½ÖÖ»ù±¾ÔªËØ£¬Ò»¸öÊÇÊý¾Ý£¬Ò»¸öÊÇ´úÂë¡£±à³ÌÊÀ½ç¾ÍÊÇÔÚÊý¾ÝºÍ´úÂëǧ˿ÍòÂƵľÀ²øÖгÊÏÖ³öÎÞÏÞµÄÉú»úºÍ»îÁ¦¡£
    Êý¾ÝÌìÉú¾ÍÊÇÎľ²µÄ£¬×ÜÏë±£³Ö×Ô¼º¹ÌÓеı¾É«£»¶ø´úÂëÈ´ÌìÉú»îÆã¬×ÜÏë¸Ä±äÕâ¸öÊÀ½ç¡£
   Äã¿´£¬Êý¾Ý´úÂë¼äµÄ¹ØϵÓëÎïÖÊÄÜÁ¿¼äµÄ¹Ø ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ