2006å¹´12æ15æ¥04:00 ã«ãã´ãªLightweight Languages javascript - set(Timeout|Interval)ãã¡ã½ããå ã©ãããªããfoo.bar(arg ...)ã®semanticsãå¤ããã«å¼ã³ããã Kazuho@Cybozu Labs: setTimeout ããªãã¸ã§ã¯ãæåã«ãã¦ã¿ã ãã¨ãã° foo.bar(hoge) ã 1000ms å¾ã« setTimeout ãããå ´åã foo.bar.callTimeout(1000, foo, hoge); ã¨æ¸ããã¨ãã§ãã¾ãã ã¨ããããã§ç§å®¶çã JavaScriptã®functionã¯ãªãã¸ã§ã¯ãæåã©ããããªãã¸ã§ã¯ããã®ãã®ã§ãããã以ä¸ã®ããã«ãã¦ãããã®ã§ã¯ï¼ãããããã¨ã§ãf(arg ...)ããã£ã¦ãg = f.setTimeout(ms)ã¨ããå ´åãg()ã®å¼æ°
{{#tags}}- {{label}}
{{/tags}}