Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
JavaScript Lingo: Arrays & Objects
Play lesson

Computer Science and Software Engineering Theory with Briana - JavaScript Lingo: Arrays & Objects

4.0 (0)
5 learners

What you'll learn

This course includes

  • 1.3 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

How to identify an array or an object based on simple syntax, as well as what they are capable of doing. If you want to store more than one piece of information to a variable, you can do so by creating an array or an object. **Disclaimer: Objects in JS are not exactly the same as objects in other languages. We will discuss objects here as they pertain to JS. Arrays are sets of data between [square, brackets]. Data is separated by commas. That data can be in the form of a boolean, string, number, or even another array. We call that a nested array. Objects are a type of data that can look or behave similar to an array in the way that it's more data stored in one variable in an organized way. You'll hear it referred to as JSON, and when you make API calls to other sites (getting information to display on your own page) it will frequently be returned in JSON. An example of object notation is: var obj = { "name" : "Briana", "food" : "cheese", "dog" : "Maurice" }; Notice the curly brackets, the 'keys' with values like name or food,, and the value called a 'property' that is tied to the 'key', like Briana or cheese. These are ALL stored as strings, although booleans, numbers, and other types of data are also valid. ❤️ Support for this channel comes from our friends at Scrimba – the coding platform that's reinvented interactive learning: https://scrimba.com/freecodecamp

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere