JavaScriptã®ä¾¿å©ç³»ã©ã¤ãã©ãªã§ãObject ã® prototypeã«ããããæ¾ãè¾¼ãã®ããããã©ãããã¦ããã ããããä¾ãã° http://prototype.conio.net/ ã® Object.prototype.extend ã¨ãã便å©ãªãã ãã©ãã Object.prototype.extend = function(object) { for (property in object) { this[property] = object[property]; } return this; }ãããããããããããããã¨ã¯ãããã°ç¢ºãã«ä¾¿å©ã ãããã¦ãªãã¸ã§ã¯ãæåã®èãæ¹ãããã¦ãããã«ããã¹ãã ããã ã§ãã info={name:"ã¿ãã¦",tel:"090-xxx-xxx"}; for( i in info ){ document.write( i+"="+ i
{{#tags}}- {{label}}
{{/tags}}