Beruflich Dokumente
Kultur Dokumente
A function expression is just that...an expression. We can pass them without variables!
12
coolFunction
wow
10
12
coolFunction
wow
these
10
12
coolFunction
wow
these
are
10
12
coolFunction
wow
these
are
some
10
12
coolFunction
wow
these
are
some
pretty
10
12
coolFunction
wow
these
are
some
pretty
cool
10
12
10
coolFunction
wow
these
are
some
pretty
cool
results
12
10
coolFunction
wow
these
are
some
pretty
cool
results
12
10
var results = [ ];
for(var i = 0; i < numbers.length; i++){
results[i] =
}
LEVEL One
var results = [ ];
for(var i = 0; i < numbers.length; i++){
results[i] = coolFunction (numbers[i]);
}
LEVEL One
12
10
12
10
12
doubled!
24
10
12
4
doubled!
24
10
12
3
doubled!
24
10
12
9
doubled!
24
18
10
12
8
doubled!
24
18
16
10
12
6
doubled!
24
18
16
12
10
12
10
doubled!
24
18
16
12
20
12
10
1
doubled!
24
18
16
12
20
console.log(results);
LEVEL One
LEVEL One