4 ms·
Helpful article. Since I’ve avoided directly coding in JS for a while: So getters and setters add complexity and ambiguity to avoid typing “()”? Did I get that
by z5h 5y ago
Helpful article. Since I’ve avoided directly coding in JS for a while: So getters and setters add complexity and ambiguity to avoid typing “()”? Did I get that right?
- hajile 5y agoPretty much. I was surprised to see them here though. They shipped in ES5. To put that in perspective, IE9 supported them in 2011. They occasionally have uses, but generally, I think they aren't hyper useful.