Beginner JavaScript Tutorial – 19 – for Loop

[ad_1]
Facebook –
GitHub –
Google+ –
LinkedIn –
reddit –
Support –
thenewboston –
Twitter –


Posted

in

by

Tags:

Comments

27 responses to “Beginner JavaScript Tutorial – 19 – for Loop”

  1. Amit Sapkota Avatar

    its called moustache bracket 😀

  2. Daniel Smith Avatar

    Theyre called braces mate

  3. Rasmus Biehl Avatar

    Even though this video was made back in 2011, it still helped me a lot, to understand what a loop is.

  4. My Reviews Avatar

    No one has ever explained this to me better than Bucky. fuck. You are awesome.

  5. Isthiyaq Ahamed Avatar

    how to for loop the array elements and access them please make video of it

  6. Abhinav Chavali Avatar

    or you culd do the "string" * 10

  7. Mortesa Dariani Avatar

    superb simple explanation.

  8. Øath Betrayer Avatar

    My school uses your videos for our college classes!

  9. Kartik Chawla Avatar

    Am I the only one who was continuously bothered by the spelling of black? It might just be my OCD.

  10. Ankit Arya Avatar

    for (x=0; x<=100; x++){
    document.write("i love scarlett johanson </br>");
    }

  11. Drew Andersen Avatar

    It is definitely "curly brace". The other form is "curly bracket". Both correct. Just like 'mice and mouses' for computer mouse ha.

  12. Mukhtaar A. Aziz Avatar

    javaScript support forEach ?

  13. Kaze No Hito Avatar

    () =parenthesis
    {} = braces or curly brackets
    [] = brackets
    << and >> = angle brackets

  14. Noah Woodworth Avatar

    the curly brackets are called braces.

  15. Derrell Record Avatar

    {These are just called braces, or curly brackets}

  16. Charlie Ennis Avatar

    You don't love her…you can't even spell her name right.

  17. Nicholas Noriega Avatar

    Got a lil confused on this one. I get the concept but not the equation.

  18. tomblitz22 Avatar

    I'd like to mention that var is needed:
    for (var i = 0; i < N; i++) {}
    defines i locally, while
    for (i = 0; i < N; i++) {}
    actually references a global variable i.
    Say you call Foo() from inside the loop, and Foo itself uses i in a for loop –
    That's a bug on your hands…

  19. stphnyvillegas Avatar

    i'm still a bit confused….

  20. The Drunk Monk Avatar

    1:30 For those curious about the official names of stuffs, I looked it up Full explanations: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Expressions_and_Operators

    () Parentheses
    [] Brackets
    {} Braces
    ; Semi-colon
    : Colon
    % Remainder
    ++ Increment
    ** Exponential (e.g. 2 ** 3 = 2*2*2)
    && "and also"
    || "and/or"
    ! "is NOT"
    > "Greater than" sign
    < "Lesser than" sign
    = assignment operator, "is"
    != "is not equal to"
    <= "less than or equal to"
    >= "greater than or equal to"
    == "is equal to" (equal, doesn't need to be same type of variable)
    === "is exactly equal to" (equal and same type of variable)

  21. Biff Avatar

    Wasn't Rebecca Black like 14 when you made these? lol

  22. fahim shuvo Avatar

    called loop body !!!

  23. Benjamin Mills Avatar

    Hey thanks, Bucky.
    I joined the i and "hello" to show how the number incremented by 2 each time.
    ……………………………………………………………………………………………..

    <script type="text/javascript">

    for(i=2; i<=10; i+=2){
    document.write(i + " hello</br>");
    }
    </script>

  24. Temicka Noney Avatar

    grrr so im doing an exercise on team tree house in for loops and i did it correctly but they wont let me bypass

  25. Efdf Fsdfsd Avatar

    first 19 tutorials are pretty much same as c++

  26. Nicholas Vorraso Avatar

    "I love rebeccablack"

Leave a Reply

Your email address will not be published. Required fields are marked *