The following code works just as fine without the var prefix (x = 88)
var
x = 88
var x = 88 console.log(x)
is there any reason to write this var prefix?