I'm using Mozilla Firefox if that changes anything.
So I was developing a website, an accidentally set name
variable to my name in some code, and then I fixed that. Shortly after, I fixed that, and name was still my name. I switched tabs on to a random website, and started typing name
, and it automatically showed the variable as I press n
. It was set to ""
. What's going on here?
I even went to a 404 page on my server to make sure it wasn't a script I had included on my page, and typed var name = "a"
and went to another page, and name
returned "a"
. Does it act like a localStorage variable?