JavaScript is a client-side and dynamic computer programming language.It is most commonly used as part of web browsers, it allows client-side scripts to interact with the user, control, communicate with the browser and add, change or modify the document content that is displayed.