I definitely prefer Lua to Javascript, but in my opinion the languages are roughly similar enough that it's not worth going through the trouble to swap one out for the other.
You don't get any of the weak typing, but you still have very similar syntax and features, same dynamic typing, same prototype OOP. Lua doesn't hold enough of an advantage over JS to warrant the cost of trying to get it in the browser.
You don't get any of the weak typing, but you still have very similar syntax and features, same dynamic typing, same prototype OOP. Lua doesn't hold enough of an advantage over JS to warrant the cost of trying to get it in the browser.