ValueLabs Interview Question

Why JavaScript is used in browsers? Why not the languages Java, Python or Ruby?

Interview Answers

Anonymous

May 31, 2015

oops javascript itself is a default plugin in all browsers.. if you had explained very on dynamic manipulation of web page (not webpages). you may come up with the right point javascript is async and helpfull in interacting with dom elements instantly for better user interaction.

1

Anonymous

Apr 30, 2015

My answer: It is used for dynamic manipulation of web pages. Also, it is supported by browsers natively without need of plugins. Expected answer: JavaScript is used as it supports asynchronous methods! This was really funny because this is a subjective question and he was expecting objective answer!