diff --git a/README.md b/README.md index ad719a8..25186c0 100644 --- a/README.md +++ b/README.md @@ -116,6 +116,7 @@ Question: What value is returned from the above statement? ``` Question: What is the value of window.foo? **Answer: "bar"** +if intially window.foo was false, undefined or zero else it will retain its value. ```javascript var foo = "Hello"; (function() { var bar = " World"; alert(foo + bar); })(); alert(foo + bar);