summaryrefslogtreecommitdiffhomepage
path: root/javascript.html.markdown
diff options
context:
space:
mode:
authorcubuspl42 <kubusiowski@o2.pl>2013-12-14 14:44:06 +0100
committercubuspl42 <kubusiowski@o2.pl>2013-12-14 14:44:06 +0100
commiteafeb3b4611d705f0c83bd652089bab364a8b2db (patch)
tree9e7a4e6329eb1e38fc99362a352099f89b4c37e4 /javascript.html.markdown
parent432eb6f53df3a78dd5d3f564a1bbaa551a970732 (diff)
typo
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);
}