JavaScript is a programming language that helps to perform certain processing occur on the user end. JavaScript is applied in browsers to allow client-side scripting on the user end.
For example, when you reply to a comment in a WordPress blog, WordPress uses JavaScript to move the comment form inside the comment you are replying to.