<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>uzulla</author_name>
  <author_url>https://blog.hatena.ne.jp/uzulla/</author_url>
  <blog_title>uzullaがブログ</blog_title>
  <blog_url>https://uzulla.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>なんか、CoffeeScriptで、あるクラスからいくつもインスタンスをつくって色んな処理をさせていたのだけれど、 なんか変数が共有されているというか、変数の参照がわたっているというか…なんかへんな挙動していて困る。 例になるクラス class Chain queue: [] test: ()-&gt; @queue.push('A') 実行すると… c = new Chain c.test() console.log c.queue c = new Chain c.test() console.log c.queueを実行すると、両方とも、Aがでるだけだと思うんだけど、A,Aと出る… なんだこれ、…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fuzulla.hateblo.jp%2Fentry%2F2011%2F12%2F07%2F052539&quot; title=&quot;CoffeeScriptで、newするときのプロパティ変数の初期化ってどーなってんの？ - uzullaがブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2011-12-07 05:25:39</published>
  <title>CoffeeScriptで、newするときのプロパティ変数の初期化ってどーなってんの？</title>
  <type>rich</type>
  <url>https://uzulla.hateblo.jp/entry/2011/12/07/052539</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
