Skip to content

Instantly share code, notes, and snippets.

@chattama
Created August 11, 2014 06:33
Show Gist options
  • Save chattama/58c0d798369741fbea09 to your computer and use it in GitHub Desktop.
Save chattama/58c0d798369741fbea09 to your computer and use it in GitHub Desktop.
初期化位置でちょっとハマり
A = class
h1: {}
h2: null
constructor: ()-> @h2={}
a1 = new A()
a2 = new A()
console.log a1.h1 == a2.h1
console.log a1.h2 == a2.h2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment