mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 09:41:36 +00:00
typo
This commit is contained in:
parent
432eb6f53d
commit
eafeb3b461
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user