Create a simple "class" in Javascript, using various frameworks and pre-processors.
Let's build a "player" object for a game. This player will have properties like:
- Health
- Level
- Experience
- Attributes
- Inventory
And it will have instance methods, like:
- damage(amount)
- gainExperience(amount)
As well as static methods, like:
- inSameParty(player1, player2)
- ES6
- Coffeescript
- AngularJs
- EmberJs
- BackboneJs