Ïê½âFirefox 3.5µÄÐÂJavaScriptÒýÇæ
±¾ÎÄ×÷ÕßΪDavid
Mandelin£¬©¤©¤Mozilla JavaScriptÍŶӹ¤×÷ÈËÔ±¡£
Firefox 3.5ÓµÓÐÒ»¸öȫеÄJavaScriptÒýÇ棬½Ð×öTraceMonkey£¬ÔÚ¸ÃÒýÇæÉÏÅÜJSÓ¦ÓÃÒª±ÈFirefox
3¿ìµ½3-4±¶£¬´Ó¶øΪÏÖÓеÄÍøÂçÓ¦ÓüÓËÙ¡£ÕâƪÎÄÕ´óÖµÄÃèÊöÒ»ÏÂÔÚTraceMonkeyÖаüÀ¨µÄÖØÒª²¿¼þ£¬ÒÔ¼°ËûÃÇÊÇÈçºÎ¼ÓËÙJavaScriptµÄ¡£Í¬Ñù£¬ÔÚÁ˽âÕâЩ֮ºó
£¬ÄãÒ²¾ÍÄÜÖªµÀʲôÑùµÄÍøÂçÓ¦ÓÃͨ¹ýTraceMonkeyÄܹ»»ñµÃ×î´óµÄÌáËÙ£¬ÒÔ¼°ÔõôÑùÀ´Ð´ÄúµÄ³ÌÐò»ñµÃ¸ü´óµÄÐÔÄÜÌá¸ß¡£
ΪʲôÌáËÙJSºÜÄÑ£º¶¯Ì¬ÀàÐÍ
ÀàËÆÓÚJavaScriptºÍPythonÕâÑùµÄ¸ß¼¶¶¯Ì¬ÓïÑÔͨ³£Ê¹µÃ±à³ÌЧÂʷdz£¸ß£¬µ«ÊÇͬÀàËÆJava»òÕßCÕâÑùµÄ¾²Ì¬ÓïÑÔÏà±È£¬ËûÃÇÒªÂýһЩ¡£°´ÕÕ¾ÑéÀ´Ëµ£¬Ò»¸öJS³ÌÐòͨ³£Òª±ÈͬµÈµÄJava³ÌÐòÂý10±¶¡£
ÏñJSÕâÑùµÄ¶¯Ì¬ÓïÑÔ±ÈÏñJava»òÕßCÕâÑùµÄ¾²Ì¬ÓïÑÔÂýÖ÷ÒªÓÐÁ½¸öÔÒò¡£µÚÒ»¸öÔÒòÊÇÔÚ¶¯Ì¬ÓïÑÔÖУ¬Í¨³£²»Ì«ÈÝÒ×ÔÚÖ´ÐÐ֮ǰ֪µÀÖµµÄÀàÐÍÐÅÏ¢¡£Òò´Ë£¬ÓïÑÔ±¾Éí±ØÐëʹÓÃÒ»¸öͨÓõĸñʽ´æ´¢ËùÓеÄÖµ²¢ÇÒʹÓÃͨÓõIJÙ×÷À´´¦ÀíËûÃÇ¡£
Ïà·´£¬ÔÚJavaÖУ¬³ÌÐòÔ±ÉùÃ÷±äÁ¿ºÍ·½·¨µÄÀàÐÍ£¬±àÒëÆ÷¿ÉÒÔÔÚÔËÐÐ֮ǰ¾ÍÖªµÀÕâЩֵµÄÀàÐÍ¡£±àÒëÆ÷¿ÉÒÔʹÓÃÌض¨µÄ¸ñʽºÍ²Ù×÷À´´¦ÀíÕâЩֵ£¬¶øÕâ¸ö¹ý³ÌÒª±ÈͨÓõĸñʽºÍ²Ù×÷¿ìºÜ¶à¡£ÏÂÃ棬ÎÒ»á°ÑÕâÀà²Ù×÷½Ð×öÀàÐÍÌض¨´¦Àí¡£
¶¯Ì¬ÓïÑÔÔËÐÐÂýµÄµÚ¶þ¸öÔÒòÊÇ£¬¶¯Ì¬½Å±¾ÓïÑÔͨ³£ÊµÏÖΪ½âÊÍÆ÷£¬Ò²¾ÍÊÇÓɽâÊÍÆ÷Ö´ÐУ»¶ø¾²Ì¬ÓïÑÔͨ³£±»±àÒëΪÔÉú´úÂë¡£½âÊÍÆ÷¿ÉÒÔºÜÈÝÒ׵Ĺ¹Ô죬µ«ÊÇËûÃÇÐèÒª¶îÍâµÄÔËÐÐʱ¼äÀ´´¦Àí¸ú×ÙËûÃǵÄÄÚ²¿×´Ì¬¡£ÏñJavaÕâÑùµÄÓïÑԻᱻ±àÒë³É»úÆ÷ÓïÑÔ£¬»ù±¾ÉÏÊDz»ÐèÒªÄÚ²¿ÔËÐÐ״̬¸ú×ٵġ£
ÈÃÎÒÃÇÓÃÒ»ÕÅͼƬÀ´ÃèÊöµÄ¸ü¾ßÌå¡£ÕâÀïÓÐÒ»¸ö¼òµ¥µÄ¼Ó·¨µÄ·Ö½â¶¯×÷ʾÒâͼ£¬ÎÒÃÇÀ´¼ÆËãһϣºa +
b£¬ÕâÀïaºÍb¾ùΪÕûÊý¡£Ê×ÏÈ£¬ÎÒÃǺöÂÔ×îÓұߵÄÖù״ͼ£¬¼¯ÖÐÔÚFirefox
3µÄJavaScript½âÊÍÆ÷ºÍJava
JITÖ´ÐÐЧÂʵıȽÏÉÏ¡£Ã¿¸ö×ÝÁж¼±íʾÔÚijÖÖÓïÑÔÉÏÕâ¸ö¼Ó·¨ÔËËãÒª×öµÄ·Ö½â¶¯×÷¡£Ê±¼ä´ÓÉϵ½Ï½øÐУ¬Ã¿¸ö²»Í¬ÑÕÉ«µÄºÐ×Ӹ߶Ȼù±¾±íʾ½øÐи÷ֽ⶯×÷ÐèÒªµÄʱ¼ä¡£
ÔÚÖм䣬Java¼òµ¥µÄÔËÐÐÒ»Ìõ»úÆ÷Ö¸Á“¼Ó”ÃüÁÔËÐÐʱ¼äΪT£¨Ò»¸ö´¦ÀíÆ÷ÖÜÆÚ£©¡£ÒòΪJava±àÒëÆ÷Ô¤ÏÈÖªµÀÔËËãֵΪ±ê×¼µÄ»úÆ÷ÕûÊýÀàÐÍ£¬Ëý¿ÉÒÔÖ±½ÓʹÓñê×¼µÄÕûÊý¼Ó·¨»úÆ÷Ö¸Áî¡£ÍêÁË¡£
ÔÚ×ó±ß£¬SpiderMonkey£¨FF3ÖеÄJS½âÊÍÆ÷£©ÐèÒª´ó¸Å40¸öT¡£×ØÉ«²¿·ÖµÄºÐ×Ó²¿·ÖΪÕû¸ö½âÊÍÆ÷µÄ¿ªÏú£º½âÊÍÆ÷ÐèÒª¶ÁÈ¡¼Ó²Ù×÷£¬È»ºóÌøµ½½âÊÍÆ÷µÄͨÓüӲÙ×÷´úÂ벿·Ö¡£éÙÉ«µÄºÐ×Ó²¿·Ö±íʾÓÉÓÚ½âÊÍÆ÷²»Öªµ
Ïà¹ØÎĵµ£º
ugmbbc·¢²¼ÓÚ 2009-11-14 09:41:43| 7628 ´ÎÔĶÁ ×ÖÌ壺´ó С ´òÓ¡Ô¤ÀÀ
var ReTitle = '»Ø¸´:Google ÅÅÃûÖÐµÄ 10 ¸ö×îÖøÃûµÄ JavaScript ¿â';
¸ÐлCOMSHARP CMSµÄͶµÝ
ÐÂÎÅÀ´Ô´:tripwiremagazine.com
JavaScript ÊÇ Web ¿ª·¢ÓëÉè¼ÆÖв»¿É»òȱµÄ¶«Î÷£¬²»¹ÜÊÇÒ»¸ö¼òµ¥µÄÍøÒ³»¹ÊÇÒ»¸öרҵµÄÕ¾µã£¬Ò²²»¹ÜÄãÊǸßÊÖ»¹ÊDzËÄñ ......
JavaScript ÊÇ Web ¿ª·¢ÓëÉè¼ÆÖв»¿É»òȱµÄ¶«Î÷£¬²»¹ÜÊÇÒ»¸ö¼òµ¥µÄÍøÒ³»¹ÊÇÒ»¸öרҵµÄÕ¾µã£¬Ò²²»¹ÜÄãÊǸßÊÖ»¹ÊDzËÄñ£¬Èç½ñ JavaScript
¿âÔ½À´Ô½Ç¿´ó£¬¿ÉÒÔʤÈÎÐí¶à¸´ÔӵŤ×÷£¬È»¶øͬʱ£¬ÈËÃÇÔÚÖÚ¶à JavaScript ¿âÃæÇ°ÓÖ¾õµÃÎÞËùÊÊ´Ó£¬±¾ÎÄ£¬ÎÒÃǽ«Ê¹Óà Google ËÑË÷³öÅÅÃûÇ° 10 λµÄ
JavaScript ¿â£¬²¢¶ÔËüÃÇÖðÒ» ......
JavaScriptÌṩÁËÒ»¸öRegExp¶ÔÏóÀ´Íê³ÉÓйØÕýÔò±í´ïʽµÄ²Ù×÷ºÍ¹¦ÄÜ£¬Ã¿Ò»ÌõÕýÔò±í´ïʽģʽ¶ÔÓ¦Ò»¸öRegExpʵÀý¡£ÓÐÁ½ÖÖ·½Ê½¿ÉÒÔ´´½¨RegExp¶ÔÏóµÄʵÀý¡£
ʹÓÃRegExpµÄÏÔʽ¹¹Ô캯Êý£¬Ó﷨Ϊ£ºnew RegExp("pattern"[,"flags"])¡£
ʹÓÃRegExpµÄÒþʽ¹¹Ô캯Êý£¬²ÉÓô¿Îı¾¸ñʽ£º/pattern/[flags]¡£
pattern²¿·ÖΪҪʹÓõÄÕýÔò ......
¹ØÓÚJAVASCRIPT²éѯÊý¾Ý¿âµÄ´úÂë
´úÂëΪ£º
var conn = Server.CreateObject("ADODB.Connection");
conn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + Server.MapPath("shjzd.mdb"); ......