2010å¹´03æ16æ¥02:00 ã«ãã´ãªLightweight Languages javascript - ä¸è½ç¶æ¿é¢æ° JavaScript: The Good Parts Douglas Crockford / æ°´éè²´æ訳 [åè:JavaScript: The Good Parts] ãã¼ãããã£ããããã©ãããã§ãåé·ã JavaScriptã§ç¶æ¿ããã¨ãã«prototypeæ¸ãã¾ããã®ããã©ã人㯠- ããããããã§ãã ããããã°ããã ãã¨ãã°ã (function(o){ o.jump = function() { alert("Jumps, jump, jumpoo!!"); }; o.sayOwnFavorite = function() { alert("I like "+this.favorite+"!"); }; })(Child.prototype); ã¨æ¸
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}