02Geek HTML5 and JavaScript, TypeScript, React, Flash, ActionScript online School
Previous VideoNext Video

Overview

What is the difference between an array and an associative array.

Video Transcript

00:00Congratulations! At this stage, you know what are primitive and complex variables.
00:05So we already met our first complex variable, which was objects.
00:09And if you don't know what I'm talking about, then please go to everythingfillet.com
00:12and make sure that you watch all the titles before our next title, which is arrays.
00:17Order, please.
00:19Order, please. It's kind of like a joke, not a very good one.
00:22But let's see what actually I'm talking about.
00:24So first of all, we're assuming, as I said, we're assuming you know what objects are.
00:27We're assuming you obviously know what variables, you know what functions are.
00:30You know at this stage, yeah, a basic idea of what are methods and properties.
00:34And you know a little bit about classes.
00:37Alright, so things are starting to build up.
00:39Now, our main focus in this course is really talking about arrays and talking about what they are.
00:44And arrays, in the most basic sense, is a list.
00:47Compared to objects which were flat, we didn't really know what came first, what came last.
00:51It didn't really matter.
00:52And arrays' order matters.
00:54And because order matters, there's a lot of functions and a lot of ways to interact with an array
00:59that are different than working with objects.
01:01So we're going to look at creating new arrays.
01:03And we're going to see how similar it is to create a new array.
01:06Followed after that, we're going to start looking into how do we actually create a queue?
01:10How do we create things with an order inside of an array?
01:13So we're going to look at how to work with arrays.
01:15We're going to look at how to edit the data.
01:17We're going to look at how to change the data, push, unshift.
01:20And we're going to look at all these stuff.
01:22Pop, shift, index of, last index of, splice, reverse.
01:25There's a lot, a lot of titles, a lot of videos in this course.
01:28And we're all really just about manipulating the data that we have.
01:31So really the idea is you have a queue, you have an order of things.
01:34And in the next hour or so, we're going over different ways to communicate with this data.
01:40So imagine that you have just a queue, a line of 10 people, and you want to change things in that line.
01:44So we're going to look at these functions.
01:46We're going to look at these methods as they're called
01:48because we're talking directly into the functions of the array itself that we're working with.
01:52To top that off, obviously we're going to summarize it.
01:55And more importantly in the beginning, we're going to try and look and compare between arrays and objects.
02:01And we're going to look at the difference between them, and obviously the similarities
02:04and the things that connect them together.
02:06Because arrays are a type of object.
02:09And we're going to look at what that means.
02:11Array is basically just a more sophisticated object.
02:14That's in the most simple way of saying it.
02:16As always, if you have any concern, any question, any problem.
02:20Always, community, exams, support.
02:23You'll find them all at EverythingAffiliate.com.

Ready to Level Up Your Skills?

Join thousands of learners on 02GEEK and start your journey to becoming a coding expert today!

Enroll Now for Free!