ãJavaScript 第5çãã®p174ã®borrowMethodsé¢æ°ã«ã¤ãã¦ã function borrowMethods(borrowFrom, addTo) { var from = borrowFrom.prototype; var to = addTo.prototype; for (m in from) { if (typeof from[m] != "function") continue; to[m] = from[m]; } } ä¸è¦ä½ã®åé¡ããªãããã«è¦ããããå¤æ°mãã°ãã¼ãã«ã«ãªã£ã¦ãã¾ã£ã¦ããã for/inãfor(;;)ã§ã®å¤æ°å®£è¨å¿ãã¯ãããããã¨ã ã ä¾ãã°WebKitã®Version 4 Public Beta (5528.17, r44282)ç¾å¨ã§ã¯ãã³ã³ã½ã¼ã«ã®keysé¢æ°ã¨valuesé¢æ°ããåããããªãã¹ããã¦ãã¦ãå¤æ°kãã°ãã¼ãã«ã«ãª
{{#tags}}- {{label}}
{{/tags}}