var is one of the ways to create a variable in JavaScript. A variable is a place to store a value, like a name or a number. var is mostly seen in old JavaScript code, written before 2015.
Source: [Dev.to](https://dev.to/abishek_m_82/understanding-var-in-javascript-21fp)