Skip to content

Instantly share code, notes, and snippets.

@yogurt1 yogurt1/subclass.coffee
Last active Jul 24, 2016

Embed
What would you like to do?
class Class
bar: -> console.log @a
class SubClass extends Class
inst = new SubClass
inst.a = 10
inst.bar() # => 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.