Search:

Type: Posts; User: laurentX

Search: Search took 0.01 seconds.

by laurentX
Replies
5
Views
1,228

Thank you guys for your answers. This stuff is new to me, I will take some time to read further in order to understand the concepts. I get the closure part.

What I still don't understand is how...

by laurentX
Replies
5
Views
1,228

You see, this is where I get confused. The (1) in...

You see, this is where I get confused. The (1) in addTwo(1) and addFive(1) are assigned to number in add(number) but I don't understand how this variable is assigned. Maybe it's the syntax that I...

by laurentX
Replies
5
Views
1,228

Beginner's question

Hi,

In the following example :

return number + amount;
}
}
4. Thread: A for loop beginner's question

by laurentX
Replies
1
Views
620

A for loop beginner's question

Hi,

In the following code :

var result = 1;
for (var counter = 0; counter < 10; counter = counter + 1)
result = result * 2;
show(result);

I can't figure out what is the relationship...
Results 1 to 4 of 4