Javascript was such a misopportunity to use Scheme instead.
All three HTML, JS, and CSS could have used one Lisp-like dialect.
Also, I remembered that JS was horribly misunderstood for a long time because people weren’t used to the prototypical inheritance. And this is where jQuery comes in and took JS to the next level.
>All three HTML, JS, and CSS could have used one Lisp-like dialect.
Other than being aesthetically pleasing to a demographic of programmers, what would be the benefit? Modern sites already have a problem with JS being used to generate CSS and HTML, and separation of concerns being completely abandoned, and that's just created a mess where three separate, more explicit languages were simpler.
All three HTML, JS, and CSS could have used one Lisp-like dialect.
Also, I remembered that JS was horribly misunderstood for a long time because people weren’t used to the prototypical inheritance. And this is where jQuery comes in and took JS to the next level.