JavaScript state encapsulation without classes in 2019 (with private fields) | Dark Hacker News