2010-07-19 ã«ãã´ãª: Client Side ã¿ã°: JavaScript ãã©ãã¯ãã㯠JavaScriptã®newã£ã¦ä½ï¼ä¸ä½ä½ãªã®ï¼ã¨ãã話 - æã¨åæ°ã¨ç¼¶ãã¼ã« ã¯ã©ã¹ã£ã¦ãã®ã¯JavaScriptã«ã¯ãªãã¯ããªã®ã«ã new ClassName();ã¨æ¸ãã¨ããããClassNameã¯ã©ã¹ã®ãªãã¸ã§ã¯ãã®ã¤ã³ã¹ã¿ã³ã¹ãçæããããããè¿ã£ã¦ãããã®ãããªæåããã¦ããã ããã¯æ°æã¡æªããè¨èªä»æ§ã¨ãã¦ã¯ã¯ã©ã¹ã¯æ¬æ¥åå¨ããªãã®ã«ãã¯ã©ã¹ã®ãããªãã®ãå°å ¥ããã¦ãããã¾ã¨ããªç¥çµãæã£ã人éãªããä¸ä½ newæ¼ç®åã£ã¦ä½ãªã®ï¼ã¨ããçåãæã¤ã®ãå½ããåã§ããã ãããªæ±ããåãã¦ããnewããã¾ãã«ãä¸æ«ã§æ¶ããï¼ï¼ newã¯prototype-basedãªJavaScriptãæ¸ãããã®å¯ä¸ã®æ段[1]ã§ãçã«JavaScriptãããã³ã¼ããæ¸ãããã«ã¯æ¬ ã
{{#tags}}- {{label}}
{{/tags}}