JavaScript is a scripting language that is frequently used as a client side programming language to extend the functionality of web pages. It can be embedded in HTML to extend web pages beyond what HTML is capable of alone.