JavaScript (JS) is a type of scripting language that is mostly used on the internet. It is widely seen in HTML code and is used to enhance HTML pages. JavaScript is a scripting language that is interpreted.