DEV Community

Discussion on: 5 useful TypeScript tricks

Collapse
 
basilebong profile image
Basile Bong • Edited

Hi,
Indeed Setters and Getters also exist in plain JS. Note that optional chaining has also been recently added to JS.
Thanks for the comment, I will edit my post to make this clear!