This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Would browsers support JavaScript if built today?

more options

With JavaScript move from untypted language to typed language and adding class syntax to come closer to Java/C# and also Java move toward functional programming and emerge of modern languages such as Kotlin, would browser (and HTML5) still pick JavaScript as a language to support dynamic content?

To me, feels like JavaScript+HTML5 are trying to solve what Java Applets tried to solve in early days of Java but pure Java was not a good solution. However, Kotlin + HTML5 probably would be better option today if we were not stick to tons of applications and users that still rely on JavaScript in their browsers. Or are there any specific features in JavaScript that still makes it best solution?

With JavaScript move from untypted language to typed language and adding class syntax to come closer to Java/C# and also Java move toward functional programming and emerge of modern languages such as Kotlin, would browser (and HTML5) still pick JavaScript as a language to support dynamic content? To me, feels like JavaScript+HTML5 are trying to solve what Java Applets tried to solve in early days of Java but pure Java was not a good solution. However, Kotlin + HTML5 probably would be better option today if we were not stick to tons of applications and users that still rely on JavaScript in their browsers. Or are there any specific features in JavaScript that still makes it best solution?

Chosen solution

You might consider posting this on a site for more general discussion because it doesn't seem to ask a support question.

P.S. Judging by how hard it has been to get rid of Flash, I don't think JavaScript is going anywhere.

Read this answer in context 👍 1

All Replies (1)

more options

Chosen Solution

You might consider posting this on a site for more general discussion because it doesn't seem to ask a support question.

P.S. Judging by how hard it has been to get rid of Flash, I don't think JavaScript is going anywhere.