JavaScript Tutorial For Beginners #26 – Arrays




Hey guys, in this JavaScript tutorial I wanted to show you how to make arrays and how we store pockets of informations in them. Arrays can be (virtually) endless in the amount of pockets they can hold, certainly enough for any client side script.

The biggest indicator someone is using an array is the square bracket notation – [ ].

You can also create arrays using the ‘new’ keyword, but I prefer to use the square bracket method, just because it’s quicker and easier to assign values straight away.

As always, ask away with any questions :).

SUBSCRIBE TO CHANNEL – https://www.youtube.com/channel/UCW5YeuERMmlnqo4oq8vwUpg?sub_confirmation=1

========== JavaScript for Beginners Playlist ==========

========== CSS for Beginners Playlist ==========

========== HTML for Beginners Playlist ==========

========== The Net Ninja ============

For more front-end development tutorials & to black-belt your coding skills, head over to – https://www.youtube.com/channel/UCW5YeuERMmlnqo4oq8vwUpg or http://thenetninja.co.uk

========== Social Links ==========

Twitter – @TheNetNinja – https://twitter.com/thenetninjauk

Original source


15 responses to “JavaScript Tutorial For Beginners #26 – Arrays”

  1. Hi Ninja , I go through each of your tutorial and love them a lot. One question here is while sorting the array why boolean value came first than string , you didn't provide any explanation for that or i missed anything ? is it because of datatype or what ?

  2. So far so good. I haven't been exposed to any JavaScript prior to your tutorials and these are going great. I've created a small program to practice everything learnt up till now: https://pastebin.com/3if63Phf
    Just paste that into some <script></script> tags within a html document and have a look!
    Let me know what you think of it 🙂

  3. where is the links ??? you said you will put links for arrays!! and before this video too you said you will put the links for strings methods ! plzz put it
    And thank you for your job I'm really learning ! and Understanding

  4. I did not understand the difference between logging an entry in the console and executing a statement or assigning values to a variable in the console and what could possible be the use of logging a value .Could you also please explain the use of console,since the output of any web based program is the webpage itself.Your lectures are great btw !!!Thanks in advance .

  5. I have been using your online tutorials to compliment an online course I am taking on Coursera. So far I have watched your HTML, CSS, and now JS playlist….. Your tutorials are amazingly put together and often have taught me something new and or helped solidify information by showing a different example or just hearing your way of explaining. For that sir, thank you!

Leave a Reply