[ad_1]
Facebook –
GitHub –
Google+ –
LinkedIn –
reddit –
Support –
thenewboston –
Twitter –
Beginner JavaScript Tutorial – 28 – Arrays
by
Tags:
Comments
39 responses to “Beginner JavaScript Tutorial – 28 – Arrays”
-
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…
-
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. -
we can also create array this way
var mylist=["Go","Goa","Gone"]; -
<body>
<script type="text/javascript">
var future = new Array("safe","happy","exciting","joyfull","power");
document.write(future[1]);
</script>
</body>thank you bucky
-
Tus tutoriales son como los de la pagina sololearn
-
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?
-
<!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> -
I love your word "Who cares!". 🙂
-
I am not able to play this video…. cursor is moving round and round.
-
ppp
dick
-
I care.
-
Thanks bucky
-
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!
-
super goede uitleg en eenvoudig te volgen (Dutch)
-
Why did the programmer quit his job?
Because he dint get arrays 😉 -
yeah but you still have to type the "800" peoples names
-
Luv Yeahhhh Thank you♡
-
Why is this done in the body and not the head??
-
Thank's.
GOD bless you. -
Good tutorial I really learned something from this one so clear!
-
easy to understand
-
is anyone having a problem too?
i'm doing the same nothings printing– via YtPak(.com)
-
<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 ? -
Hi Bucky, FYI after tutorial 27 youtube automatically start 26. I had to look for 28 to get it. Thanks for your great work.
-
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.
-
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 !!!!
-
Can you show me what is wrong with this following codes?
var myArray = new Array( new String("hello"), new String("world") );
console.log(myArray); -
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 -
Its returing me with Letters instead of Words! Why?!
-
Say I wanted to use that years until retirement example from the last tutorial. How would I use an array instead of a variable?
-
mickety and hanah did not like this video
-
damn java scripts case sensitivity!!!!!
-
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!!!
-
Go kill your self, don't forget to kill somebody also
-
Thanks for the tutorial !
-
Shut up Mohammed.
-
:O a dislike? what is this? I CALL HAX
-
I do care about all these typing mistakes, its annoying!!
-
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