2009-11-01ãã1ã¶æéã®è¨äºä¸è¦§
è²ã ä¸æ£ç¢ºãªç¥èã°ãããè©°ã¾ã£ã¦ãè³å ãã©ãã«ãããããã®ã ããã æç´ã¯å°ãã«ãã¦ãæ¬é¡ã ãã¹ã¦ããªãã¸ã§ã¯ãããã¹ã¦ãããã·ã¥ï¼é£æ³é åï¼ javascriptã¯é åãããã·ã¥ããªãã¸ã§ã¯ãããã¹ã¦åããã®ã ããªãã¡ãé£æ³é åãããã ã¾ããç¥èâ¦
ãã©ã´ã³ãã¼ã«ã®ãã£ã©åã¿ãããªãã®ãã¯ãã¼ã¸ã£ãã¨ãããã¤ãã¡ã¢ããã èªåç¨ã¡ã¢ãªã®ã§ãèªã¿ã«ããã¦ããããããã»ã»ã»ã åèã«ãããµã¤ãæ§ JavaScript ç¿ã§ããããã¯ãã¼ã¸ã£è¶ å ¥é ã¾ã¨ã - DQNEOèµ·æ¥æ¥è¨ ç¿ä¸¦ã¿ã®åã§ããããã¾ããã nothâ¦
javascriptã®é¢æ°ã function testFunc() { alert(1); }ãã㨠var testFunc = function() { alert(2); }ããã¯ã»ã¼å義ã ä¸ã®ã»ããããè¦ãã å¼ã³åºãæ¹ å¼ã³åºãæ¹ãä½éããããã testFunc();(testFunc)();ããã«å®è¡ãããªããããããã®ããã (funâ¦
autopagerize ãåå¼·ã§èªãã§ãã使ã£ã¦ãã¦ä¾¿å©ããã ã£ãã®ã§ã //åæè¨å® var DEBUG = true; function debug() { if ( typeof DEBUG != 'undefined' && DEBUG ) { console.log.apply(this, arguments) } }ããã¦ã var testText = "this is test text"; â¦
javascriptã§æ¥ä»æ±ãã¨æ¯åæ©ãããã¡ã¢ ã°ãªã¢ã³ä½æ ã°ãªã¢ã³ä½ã£ã¦ãããå¤é¨js使ããã«ãç¬èªå®è£ ã§æ¥ä»æ±ããã¨ã«ã ããããã£ãã®ã¯ã ï¼æ¥æ¸ãã ï¼ææ¸ãã ï¼å¹´æ¸ãã ã£ã¦å¦çã ã£ãã®ã§ãæ±ç¨æ§ã¯ä½ããã©ã¨ããããä½ãå§ãã function substOâ¦