JavaScript, Functional Programming, Web Development, State Encapsulation, Javascript State.
function constructor pattern without this as the preferred approach for encapsulating state. This was inspired by the widespread criticism of the private fields TC39 proposal on Reddit. I’ll be talking about how to encapsulate state: With the ES2015 class keyword, With simple functions and object