-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Description
Hi!
Thanks for a great cheatsheet. I enjoyed reading it and learn a few new things :)
However, I think that getters and setters are not part of ES6 - they were introduced in ES5:
http://www.ecma-international.org/ecma-262/6.0/#sec-method-definitions
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/get#Specifications
ES6 gives us the possibility of using getters and setters in classes :)
BR,
Marcin
Metadata
Metadata
Assignees
Labels
No labels