…not a reason for saying JS encourages unsafe code. It is also, only a source for confusion at best. When the power of prototypal delegation for inheritance is understood, then these naysayers, like you and even me, tend to fight for JS. It is ingenious, once you get it…
That’s absurd. Prototypal inheritance has been “understood” for decades, since Self was created back in 1987. The leading language designers have always known about object prototypes, but they chose to avoid this feature (with one exception: Lua created in 1993). All the latest OOP languages have avoided prototypes…Groovy, Scala, Dart, Swift, Kotlin, etc.
Only the mind-fucked JS devs keep insisting (and condescending) that object prototypes are misunderstood. What a bunch of asses!