JavaScript is a lightweight and interpreted programming language that allows the web developers to build interactive web application.
JavaScript was first named as LiveScript and later was renamed to JavaScript and made its appearance in Netscape 2.0 in 1995.
You can use JavaScript in various scenarios and some of them include trapping the events like button clicks , navigation links , validation of the user inputs on the client side etc.