Beginner JavaScript Tutorial – 28 – Arrays

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


Posted

in

by

Tags:

Comments

39 responses to “Beginner JavaScript Tutorial – 28 – Arrays”

  1. Joaquim Alves de lima Avatar

    Thank you for the great job man! It's because of people like you the internet exists!

    I tried other tutorials, SoloLearn, CodeAcademeny and – so far – you're the best. Keep the mood up and the tutorials free! As soon as possible i'll check on patreon to see if i can help…

  2. Nicholas Noriega Avatar

    So How do I write 2 of them?
    I tried
    document.write(people[5]);
    document.write(people[2]);
    and it writes MicketyTommy
    when I add a line brake <br/> in between nothing appears.

  3. Suyash Srivastava Avatar

    we can also create array this way
    var mylist=["Go","Goa","Gone"];

  4. yerrapotu kiran Avatar

    <body>
    <script type="text/javascript">
    var future = new Array("safe","happy","exciting","joyfull","power");
    document.write(future[1]);
    </script>
    </body>

    thank you bucky

  5. Ronaldo Martinez Avatar

    Tus tutoriales son como los de la pagina sololearn

  6. Biff Avatar

    Question: If you were, hypothetically, to have a list of 800 items in an array, say perhaps a list of employees or something. How on earth would you remember which number in the index one particular person was? Like if I needed "John" I'm not going to remember that he was #212, so how do you manage the data aside from remembering?

  7. Robson Sousa Avatar

    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="ISO-8859-1">
    <title>Beginner Javascript Tutorial</title>
    </head>
    <script type="text/javascript">

    // thanks Bucky! 🙂
    </script>

    <body>

    <script type="text/javascript">

    var foods = new Array("tuna", "apple", "bacon", "tomato");

    document.write("Types of food: " + foods);

    var x = 0;

    while(x < foods.length){
    document.write("<br>", foods[0] = foods[x]);
    x += 1; // or x = x + 1
    }

    </script>

    </body>
    </html>

  8. Waqar Ali Avatar

    I love your word "Who cares!". 🙂

  9. Indrajeet Udawant Avatar

    I am not able to play this video…. cursor is moving round and round.

  10. Mervin Lee Avatar

    You sir are the best teacher to learn programming from! I did try a little bit of programming at a university but the lecturers and tutors there were hopeless at teaching and hence, I didn't understand anything they were showing! Keep up with the good work!

  11. Arthur de Vos Avatar

    super goede uitleg en eenvoudig te volgen (Dutch)

  12. lilboss2013 Avatar

    Why did the programmer quit his job?
    Because he dint get arrays 😉

  13. Madden Gaming Avatar

    yeah but you still have to type the "800" peoples names

  14. ASP! Avatar

    Luv Yeahhhh Thank you♡

  15. dazayit brittle Avatar

    Why is this done in the body and not the head??

  16. KevinIaMmE94 Avatar

    Good tutorial I really learned something from this one so clear!

  17. Mo's TV Avatar

    easy to understand

  18. hasan anwar Avatar

    is anyone having a problem too?
    i'm doing the same nothings printing

    – via YtPak(.com)

  19. Hovhannes Harutyunyan Avatar

    <html>
    <head>
    </head>
    <body>
    <script type="text/javascript">
    var people = new Array("Hovo"  , "Rafo " , "Manuk");
    document.write(people[0]);
    </script>
    </body>
    </html>
    Sorry why its not working ?

  20. Will van Ingen Avatar

    Hi Bucky, FYI after tutorial 27 youtube automatically start 26. I had to look for 28 to get it. Thanks for your great work.

  21. Paul N. Avatar

    Javascript is a challenge but there's a great e-book called javascript for kids. It tries to explain javascript concepts as easily as possible. In the book there is another way to create arrays but you get the same results. I suggest to those that are learning javascript and finding it as challenging as I do to find that e-book it will help them. 

  22. Martin Pedraza Avatar

    awaesome vid !!! call me stupid, but I've been trying to understand this for quite some time now, and this is eyes- opening to me!!

    Great work man !!!!

  23. Ngan Nguyen Avatar

    Can you show me what is wrong with this following codes?
    var myArray = new Array( new String("hello"), new String("world") );
    console.log(myArray);

  24. Doan Ngoc Son Avatar

    can we use this method to create an array with just a number 3?
    because new Array(3) just return an array with 3 empty elements

  25. Utsav Mangla Avatar

    Its returing me with Letters instead of Words! Why?!

  26. Benjamin Lehmann Avatar

    Say I wanted to use that years until retirement example from the last tutorial. How would I use an array instead of a variable?

  27. RsLuckOfToday Avatar

    mickety and hanah did not like this video

  28. tom lukeywood. Avatar

    damn java scripts case sensitivity!!!!!

  29. Zion Moulder Avatar

    Oh my God, Bucky, you are awesome! I've spent a good part of my day trying to learn what Arrays were, and you make it sound so simple. Thank you!!!

  30. visDIJ Avatar

    Go kill your self, don't forget to kill somebody also

  31. LordStarBlue Avatar

    Thanks for the tutorial !

  32. Moby - Avatar

    Shut up Mohammed.

  33. William Slatton Avatar

    :O a dislike? what is this? I CALL HAX

  34. Mohammed Hossain Avatar

    I do care about all these typing mistakes, its annoying!!

  35. mrstokiwartoothtoyou Avatar

    Can you print more than one element from your array without pulling all of them AND without having to type out separate commands?

Leave a Reply

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