• Sunday , 5 July 2020

JavaScript Tutorial For Beginners #26 – Arrays

Code Canyon

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

3d Ocean

Related Posts


  1. Ari Turbo
    September 15, 2019 at 04:44

    your screen is bluur

  2. Shraddha Paliwal
    September 15, 2019 at 04:44

    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 ?

  3. Adeola Idowu
    September 15, 2019 at 04:44

    Nice video, but i think you should have talked about push(), pop(), shift() and unshift() methods too as they are often used on arrays

  4. Keytron Quabius
    September 15, 2019 at 04:44

    4:23 also another weird part. You can have methods as they are on their own, but they can also be an object. So there's using it both regularly and as object oriented?

  5. Keytron Quabius
    September 15, 2019 at 04:44

    2:45 but how does this fit into scope. Like how to make the array Boolean value true in some scope but false in others, how would that fit into code? Is one of the harder parts of learning JS

  6. Glen Duncan
    September 15, 2019 at 04:44

    Mmmmmm. Prok.

  7. tejas joshi
    September 15, 2019 at 04:44

    What is the difference between creating an array using new operator and without using new operator ?

  8. A. A
    September 15, 2019 at 04:44

    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 🙂

  9. Hrag Bebejian
    September 15, 2019 at 04:44

    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

  10. Chris Zuidema
    September 15, 2019 at 04:44

    Hello Net Ninja, is there a reason you didn't talk about push?
    as in ->

  11. GOKUL K
    September 15, 2019 at 04:44

    Missing link about the strings again?

  12. Omkar Halikar
    September 15, 2019 at 04:44

    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 .

  13. rosjio99
    September 15, 2019 at 04:44

    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 Comment

You must be logged in to post a comment.