I learned this Thursday about "static initialization blocks" in #JavaScript and I was just glimpsing at it on MDN [1].
When I read in the first paragraph "analogous to 'friend' classes in C++" I am not sure if I should like this or not.
I mean, yeah #JS is borrowing a lot from Python and other languages, but C++ ... is that a good idea? Interesting.
Just do https://jskatas.org ;)