ãããã¿ã¤ã function Animal(){}; Animal.prototype = { sleep : function(){}, walk : function(){ alert('noshi, noshi') } }; function Human(){}; Human.prototype = new Animal(); new Human().walk(); // noshi, noshi ãã£ã¨ãããã¥ã©ã ã¨æãããã å¤åãããã¿ã¤ã Human.prototype.__proto__ = Animal.prototype; new Human().walk(); // noshi, noshi ã»ã¨ãã©ã®IEãé¤ãJavaScriptå¦çç³»ã§å®è¡å¯è½ãè£ã¯ã¶ã¡ã£ãã ã¨ã¯ã¹ãã³ã /** * extend function * @param {Object} s su
{{#tags}}- {{label}}
{{/tags}}