[ad_1]
Facebook –
GitHub –
Google+ –
LinkedIn –
reddit –
Support –
thenewboston –
Twitter –
Beginner JavaScript Tutorial – 19 – for Loop
by
Tags:
Comments
27 responses to “Beginner JavaScript Tutorial – 19 – for Loop”
-
its called moustache bracket 😀
-
Theyre called braces mate
-
Even though this video was made back in 2011, it still helped me a lot, to understand what a loop is.
-
No one has ever explained this to me better than Bucky. fuck. You are awesome.
-
how to for loop the array elements and access them please make video of it
-
or you culd do the "string" * 10
-
superb simple explanation.
-
My school uses your videos for our college classes!
-
Am I the only one who was continuously bothered by the spelling of black? It might just be my OCD.
-
for (x=0; x<=100; x++){
document.write("i love scarlett johanson </br>");
} -
It is definitely "curly brace". The other form is "curly bracket". Both correct. Just like 'mice and mouses' for computer mouse ha.
-
javaScript support forEach ?
-
() =parenthesis
{} = braces or curly brackets
[] = brackets
<< and >> = angle brackets -
well explained
-
the curly brackets are called braces.
-
{These are just called braces, or curly brackets}
-
You don't love her…you can't even spell her name right.
-
Got a lil confused on this one. I get the concept but not the equation.
-
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… -
i'm still a bit confused….
-
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) -
Wasn't Rebecca Black like 14 when you made these? lol
-
called loop body !!!
-
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> -
grrr so im doing an exercise on team tree house in for loops and i did it correctly but they wont let me bypass
-
first 19 tutorials are pretty much same as c++
-
"I love rebeccablack"
Leave a Reply