See more
var is a way to create variable in JavaScript. Even to create constant we use var in old version of JS.
var