If you end up wrapping your code in an immediately called lambda anyhow I'm sure it would be fine.
What's more of a problem is if you have something like this: https://gist.github.com/2499913
The problem is that the "var p" in the for loop will be hoisted to the top of the scope, and so when you call p() in the first line, it will actually be undefined.