<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="/xml.xsl" type="text/xsl"?><feed xmlns="http://www.w3.org/2005/Atom">
  <title>nulog, NULL::something : out of the headphone &gt; 2004 &gt; November &gt; 06 &gt; Javascript.prototype</title>
  <link href="http://lowreal.net/logs/2004/11/06/1"/>
  <icon>http://lowreal.net/img/banner.png</icon>
  <link rel="self" type="application/atom+xml" href="http://lowreal.net/logs/2004/11/06/1.atom"/>
  <link rel="alternate" type="application/xhtml+xml" href="http://lowreal.net/logs/2004/11/06/1.xhtml"/>
  <updated>2004-11-06T15:13:44+09:00</updated>
  <author>
    <name>cho45(砂糖)</name>
  </author>
  <id>http://lowreal.net/2004/11/06/1</id>
  <entry>
    <title>Javascript.prototype</title>
    <link rel="alternate" type="text/html" href="http://lowreal.net/logs/2004/11/06/1.html"/>
    <link rel="alternate" type="application/xml+xhtml" href="http://lowreal.net/logs/2004/11/06/1.xhtml"/>
    <updated>2004-11-06T15:13:44+09:00</updated>
    <published>2004-11-06T15:13:44+09:00</published>
    <id>http://lowreal.net/2004/11/06/1</id>
    <category term="prog"/>
    <content type="xhtml" xml:base="http://lowreal.net/">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>結局一番無難と思われる方法を使うことしてみる。</p>
        <pre class="ECMAScript">function Foo() {
}

Foo.prototype = new Array();
copy(Foo.prototype, {
    unk : function () {}
});</pre>
        <p><code>copy()</code> はオブジェクトのプロパティをコピーする関数。何か結局そこらのサンプルと同じなわけで、何を無駄なことをやっていたんだと……</p>
      </div>
    </content>
  </entry>
</feed>
