init: function (type) => this.type,
Prototypes in JavaScript
Mattias Petter Johansson
1074
This line has an invalid use of the arrow function. It should be something like this `init: (type) => this.type = type,`
This line has an invalid use of the arrow function. It should be something like this `init: (type) => this.type = type,`