Rethinking the Dot operator in JavaScript
The Dot operator is dangerous because if, at run-time, the value of the identifier before it is not what was intended, the program will likely throw an error and probably crash. Firstly, there are of course cases where the dot operator is perfectly fine. Knowing where, and why, is what this article is about.
https://realworldjs.medium.com/never-use-the-dot-operator-in-javascript-ee0339d85fb