Open mlxiao93 opened 3 years ago
README.md was updated 3 years ago. That`s so sad ;(
It's available in Js to use constructors without brackets (for constructors without arguments);
You can use
class A {
constructor() {
....
}
}
const a = new A;