Also if you just ignore the warts of JS-the-language I’m not sure that JS-the-ecosystem would’ve looked a lot better. I mean, we could hope, but I think it’s been a victim of its success and many solutions have been thought out by people without a lot of experience (because it’s so beginner friendly, which is good) and it’s basically the same thing as with PHP back then. Easy entry -> many beginners -> bad libraries get traction -> etc.pp
Just because it’d be a Lisp doesn’t mean it’d be a good Lisp. (See: Emacs)
Sure, but the syntax would’ve certainly been cleaner and less confusing than C inspired syntax with Lisp semantics. Js would’ve also introduced a lot of programmers to s-expressions which would’ve likely led to more s-expression based languages in the wild. Finally, we could’ve had a single unified syntax for markup, styling, and logic leveraging s-expressions.
Exec at Netscape, not Mozilla.