JavaScript, sometimes abbreviated as JS, is a scripting language. It is a type of script language used in web pages to enhance their functionality, and it is related to the high-level language Java Applet (commonly referred to as Java). A scripting language, as the name suggests, lies between HTML and high-level languages such as Visual Basic, Java, C, etc...