JavaScript is a widely used object-based client-side scripting language that is used to build dynamic and interactive web sites. Javascript is an interpreted language that is commonly used in conjunction with HTML, and programs built in JavaScript are known as lightweight scripts.