JavaScript was created in 1995 by Brendan Eich while working at Netscape. Originally called "Mocha", it was later renamed to "LiveScript" and finally "JavaScript". It was developed in just 10 days and has become one of the core technologies of the web, alongside HTML and CSS.
JavaScript is a language itself, but it has several dialects and supersets:
A variable in JavaScript is a container for storing data values. Variables are used to store information that can be referenced and manipulated in a program. They allow developers to write dynamic and flexible code.
Example: let age = 25;
Here, age is a variable holding the value 25.