I was goofing around with my friends and throwing together random codes when I noticed something strange. I was setting a variable to 4 but I accidentally hit enter instead of space. It looked like this:
var //note there are no semicolons
example = 4
when I called it, it still returned 4.
why did this happen and how can I use this to my advantage?