JavaScript is a programming language which is most frequently used to create scripts that run in the browser of the user. These scripts can generate and modify page contents, and extend interaction capabilities. Nowadays, JavaScript is sometimes also used on servers.