dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: laurentX

Search: Search took 0.00 seconds.

  1. Replies
    5
    Views
    1,588

    Thank you guys for your answers. This stuff is...

    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...
  2. Replies
    5
    Views
    1,588

    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...
  3. Replies
    5
    Views
    1,588

    Beginner's question

    Hi,

    In the following example :

    function makeAddFunction(amount) {
    function add(number) {
    return number + amount;
    }
    return add;
    }
  4. Replies
    1
    Views
    720

    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
HTML5 Development Center



Recent Articles