2010-02-02 ã«ãã´ãª: Client Side ã¿ã°: JavaScript ãã©ãã¯ãã㯠JavaScriptåºç¤ææ³æéãã¹ã¿ã¼ - ãªãã¨ãªãæ¥è¨ã¨ããè¨äºãã¯ã¦ãçéã§è©±é¡ã«ãªã£ã¦ããã®ã§ãå¾ç¶ãªãã¾ã¾ã«èªãã§ã¿ã¦å¿ã«æµ®ããã ãã¨ãããã¯ãã¨ãªãæ¸ãã¤ãã¦ã¿ãã ã¾ããã©ãã§ãããç´°ããç¹ã«ã¤ã£ãã¿ãå ¥ãã¦ããã¨ããcallã¨applyã¯å¤ããªãã§ããï¼ãã¨ããundefinedã«éãããããªãã®æ°ã®å¤ããªãã¸ã§ã¯ãã§ã¯ãªãã§ãã [注1]ãã¨ãã"use strict";ãã¦ãã¨hoge();ã®å½¢ã§å¼ã³åºãããå ´åã¯this㯠window (ã°ãã¼ãã«ãªãã¸ã§ã¯ã)ã«ãªããªããããã§ãã[注2]ãã¨ããfor inæã§ã¯ã¾ããã¡ãªè½ã¨ãç©´ã£ã¦é åèµ°æ»å¨ããããï¼ãã¨ããããããããã ãã©ãã¾ããã®è¾ºã¯å¥ã«ã©ãã§ããããã æ°ã«ãªã£ãã®ã¯ãã¯ã©ã¹å®ç¾©ã®è§£èª¬ã®ã»ã¯ã·ã§ã³
{{#tags}}- {{label}}
{{/tags}}