What's the difference between defining a variable with 'var' before, versus defining without it?

ex.

var s = 5;

Vs.

s = 5;