Jul 28, 2017 · 1 min read
This is precisely why I couldn’t understand why properties were removed from classes in ES2015, and I’m so glad it’s under proposal to be brought back.
I’ve had discussions with various devs over the years about declaring properties on prototypes, and the supposed “dangers” that come from “missed” assignments, and all I can say is, is that if that’s your biggest worry as a developer, you’re not doing it right.
Bring on class properties so we can clearly see the intention behind a class!
#Amen
