So es6 class syntax candy is so easy~
ECMAScript6 implements class, which is actually syntactic sugar, but it's there to make JS coding clearer and closer to object-oriented programming.
Implementation principles
First let's look at the implementation of class in ES6 and the implementati...
biubiubiu.hashnode.dev4 min read