DEV Community

Discussion on: Questions πŸ™‹

Collapse
 
sudiukil profile image
Quentin Sonrel
  1. In my opinion: yes, given how "objects" work in ES6. In most cases both a class and function constructor will serve the same goal, the class syntax is just a bit closer to what you can find in other languages. Just my two cents though, there might be some differences I don't know of.

  2. Bitwise operators are indeed not that common but that's mostly because they are only useful in certain specific cases.

Collapse
 
naijadeveloper profile image
naijadeveloper
  1. yeap, class is more like a straightforward simpler way.

  2. just found thisπŸ™‚ talks about those guys.