summaryrefslogtreecommitdiffhomepage
path: root/javascript.html.markdown
diff options
context:
space:
mode:
Diffstat (limited to 'javascript.html.markdown')
-rw-r--r--javascript.html.markdown4
1 files changed, 2 insertions, 2 deletions
diff --git a/javascript.html.markdown b/javascript.html.markdown
index 5f0b7951..4584a28c 100644
--- a/javascript.html.markdown
+++ b/javascript.html.markdown
@@ -271,8 +271,8 @@ permanent; // = 10
// outer function's variables, even after the outer function exits.
function sayHelloInFiveSeconds(name){
var prompt = "Hello, " + name + "!";
- // Inner functions are put in the local scope local by default, as if they
- // were declared with 'var'.
+ // Inner functions are put in the local scope by default, as if they were
+ // declared with 'var'.
function inner(){
alert(prompt);
}