Quote:
var statement
var variableName [= value1][...,variableNameN[=valueN]]
Used to declare local variables. If you declare variables inside a function, the variables are local. They are defined for the function and expire at the end of the function call. More specifically, a variable defined using var is local to the code block containing it. Code blocks are demarcated by curly braces ({}).
This does not say anything about variables inside a function originally declared without var. Any thoughts?