DEV Community

Discussion on: Why Arrow Function?

Collapse
 
epranka profile image
Edvinas Pranka

Good explanation. Advice for you:

I suggest to use the Capital letter for the class names and small letters for their instances:

class Person {

}

const person = new Person();

Good luck!

Collapse
 
pratham0182 profile image
Prathamesh Patil

Thanks :)