From c29960b0255ff8684c04a21388d4b27e84256c84 Mon Sep 17 00:00:00 2001 From: darcyclarke Date: Tue, 5 Jun 2012 14:20:03 -0400 Subject: [PATCH] Fixed wording on window.foo question to fix issue #7 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 81f6c1d..74ff382 100644 --- a/README.md +++ b/README.md @@ -116,7 +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. +only if window.foo was falsey otherwise it will retain its value. ```javascript var foo = "Hello"; (function() { var bar = " World"; alert(foo + bar); })(); alert(foo + bar);