JavaScript повинен був копіювати BASIC.

And from whence arose this new syntax? It was derived from, and I am quoting here, "the familiar C++ syntax." Familiar to whom? Certainly not the millions upon millions of people who know BASIC. Certainly not the millions upon millions who know HTML. It was familiar to the select cadre of engineers at Netscape, along with all of their friends. Did they set out to be exclusionary? I'm sure not; they just simply adapted the tools with which they themselves felt comfortable.

https://www.asktog.com/columns/028WebStealers.html