Javascript Tutorial – 6 – Arrays




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”

  1. 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!!

  2. 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

  3. 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)*/

  4. @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

  5. 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!

Leave a Reply