If you have a function like:
function test() {
var hello = "hello world"
}
test();
test();
test();
Will hello variable be recreated three times? Or will the value 'hello world' be stored and the variable will be created but set to point to the same location in memory every time? I'm also asking in the context of modern browsers/JS engines.