Back Copy 3 back

Private variables (fields), private methods, private accessors. Javascript finally gave “some privacy” to classes

Private fields are supported by Google Chrome v74+ and NodeJs 12+ Private methods and accessors are supported by Google Chrome v84+ Day by day, we are all witnessing the rapid progress of Javascript. There are still some mind blowing things that your non-javascript colleagues will joke about, but days without having private fields in classes are far […]