
douglasmak.com
Douglas Mak -My CoffeeScript Enlightenment: Class Variables. December 8, 2014. For the longest time, I have used JavaScript without any classes. I never even once thought that classes were. In the following example here, we have a class in CoffeeScript. For most object orientated programmers, this is pretty straight forward and it shouldn’t be a surprise to anyone. Just to go over the class briefly:. We have a class named HelloWorld. We have 2 class variables that are initialised to null. If you ask the EnglishPerson.
http://www.douglasmak.com/