For Computer Scientists. The problems of JavaScript
JavaScript turned out to be a big damage to computing industry.
It's really one of the worst language.
PHP is slop, but at worst is name inconsistancy and no fancy complex culty features that excites coders.
But js, created massive semantic complexity that are unnecessary if the lang isn't rushed out in 10 days.
Promise is a big example. because js is single threaded.
And the tens of features piled on to fix no-real-array, and array becoming sparse.
And things piled on to fix null is a object by mistake.
And Map is created to fix object cannot be used as real hashtable.
The prototype based object system, very simple, but turns out actually useless.
Another major problem of prototype based object system is that property hierarchy and object hierarchy is a big confusion .
No real API interface concept, but created extreme complex property interface (protocols) to make iterator mechanism work.
extremely complex module, import, export system, due to accommodate backward compatibility of decade of practical hack for a module system e.g. commonjs and nodejs config files.