|
|
|
|
|
by thomasfl
4078 days ago
|
|
It's about time more people starts using ES6 class constructors instead of rolling their class definition hack. This is how it's done in the calculator demo: CLASS({
name: 'Calc'
With babeljs you can use ES6 syntax like this: class Calc {
}
|
|