JavaScript, Functional Programming, Web Development, State Encapsulation, Javascript State.
the set method on your object. Extra mental overhead and API surface area Understanding of the ES2015 class syntax is extra mental overhead for developers. There are on-going proposals to augment this with public and private fields (the syntax of which is still contentious and uncertain). These