Facebook – https://www.facebook.com/TheNewBoston-464114846956315/
GitHub – https://github.com/buckyroberts
Google+ – https://plus.google.com/+BuckyRoberts
LinkedIn – https://www.linkedin.com/in/buckyroberts
reddit – https://www.reddit.com/r/thenewboston/
Support – https://www.patreon.com/thenewboston
thenewboston – https://thenewboston.com/
Twitter – https://twitter.com/bucky_roberts
Original source
50 responses to “Javascript Tutorial – 6 – Arrays”
Do you have to type new array
Many thanks man, life saver.
I have to say this. I've looked at many tutorials about javascript, but this one is very well explained. I'm currently enrolled in a class for js., and I now feel like I'm getting it. Plus, I've never commented on any video on youtube, but I had to say something. Like someone else commented, "You make this soo easy for me to learn! Thank you". And I feel the same. Thank you!!
Happy Birthday frodo3332. 15 YrsOld.
Hope you get lots of [cakes, presents, party hats];
You make this soo easy for me to learn! Thank you!!!
wow your are sixteen now!
Hooray he turned 16 🙂 Go get your drivers licence LOL 😛
Dan got replaced by Greg … poor Dan xD
So… Array is a keyword.
LOL xd
fifteen!
0:38 "how to array an array"?
nice
nearly 15 hurray array var ay
indead? lol
That's the age when it becomes legal to have sex in Denmark.
I don't know about Britain, though. Just remember to play it safe.
Happy 15th birthday!
Java is not JavaScript They're two complete different languages. Keep that in mind. Peace
very nice video for beginners
you'r awsome
ure awsome thanks 🙂
he is now 14 and attained puberty….Hurray Hurray 'a'rray
lol
i can tell youre 17 because your name has 1995 in it
thanks you boss, but why do you have to say new, even if you are creating more than one arrays
where has tuna gone and where is ham
@Decodeish1 Okay.
@TheExplodingPumpkin Nothing. Exept arrays.
@Decodeish1 What does that have to do with JavaScript?
You didn't mention that you can also do these examples because of the loosely typed nature of javascript:
var names=[1, 52, 23]
alert(names[1])
//result: pop-up that says "52"
var names2 = []
names2.value1 = "Successful success is successful"
alert (names2.value1)
//result: pop-up box that says Successful success is Successful
@JScodeZ the title says Javascript Tutorial – 6 and i was following a series with next video Java Tutorial – 6 so i was confused
this is not working
Correction: Its not called a 3 dimensional array.*
var 3dpoint = new Array()
3dpoint[0]=x
3dpoint[1]=y
3dpoint[2]=z
//or
var 3dpoint2 = new Array(x,y,z)
//sometimes one way is faster
/*basically how all video games work: they store all their data in 3 dimensional arrays and do the math on the points to turn them into beleiveable 3d polygons. (Its called vector math and without it I wouldnt have bf3)*/
@shredder8910 Oh GOOD BOY but this s nt right time to learn this bcaz after 21 u ll start to learn this al and now try t play game with u friends then when ll u play game at the age of 25 ah ????? not possible……..think n do ……by well-wisher
y did u swtch onto html?
great tutorials man
though they are a bit slow i dont think someone can be that stupid that you have to explain such basic things so thoroughly =P
@ryzanin …That's exactly what he does later.
@colll78 Awesome! Im 12 and i do website in html, im not going to do game design. Just Web Design, im gunna learn Javascript, JQuery, AJAX, Apache, PHP, and maybe ASP.Net if i have time ;D
how does java know what kind of variable you're using for the array?
this is fantasticooooo
@frodo3332 haha, inDEAD. I think you meant indeed…
fuck firefox programmers
@jakewebbing
alert (nameS[1]);
@JKTCGMV13 can always set yourself you own projects:D
This is just like a programming class… the only thing it lacks are two important things: projects and credits.
You could off-put the Array's zero-based system by doing this though:
var ary = new Array ("", "infoOne", "infoTwo")
Pretty simple when you already know advanced Java. I mean, the scripting isn't all that close.. It's simpler with Javascript, but it's much easier to learn and understand.
done with xhtml javascript now going for mother of javascript :java:…indeed mother of object oriented languages
Thanks!
Did tutorials are superb!
Fantastic job:
o Clear descriptions, easy to follow, useful information
o Encouraging
o Also, a refined and excellent sense of humor that helps things.
Keep up the great work!