Objects in JavaScript: A Dynamic Data Structure
40mIntermediate2023-12-14
Authors

Tiffany Graves
Course details
When first learning a programming language, it is imperative to understand how different data structures can be used to store data. Each programming language has its own set of data structures, some of which are unique to that language and others that are standard across multiple programming languages. In this course, software engineer Tiffany Graves introduces you to objects in JavaScript to help you understand how objects are created and used as a data structure. Learn about data structures (what are they and why use them), arrays and objects, creating objects, adding data to objects, and updating and deleting data in objects. Plus, learn when to use objects, the pros and cons of using objects, and get a look at objects in other programming languages.
Skills covered
Ecma InternationalJavaScriptData EngineeringProgramming LanguagesData ScienceSoftware DevelopmentDeep Dive (X:Y)
Concepts
Introduction
- What are objects in JavaScript
- What are data structures
- Course overview
Introduction to Objects in JavaScript
- Arrays
- Objects
- Arrays vs. objects
- Challenge - What are objects
- Solution - What are objects
Creating Objects
- Object Initialization - Object literals and Object.create()
- Constructor functions and 'new' operator
- Challenge - How to create an object quiz
- Solution - How to create an object quiz
Objects and Properties
- Necessary vocabulary - Variables
- Necessary vocabulary - Keys, values, and properties
- Challenge - Objects and properties quiz
- Solution - Objects and properties quiz
Using Objects to Solve Problems
- Introduction of a coding problem
- Solving the problem and implementing the use of objects
- Challenge - Coding problem to solve using objects
- Solution - Coding problem to solve using objects
Conclusion
- Next steps with objects
Related courses
- Playwright Python and Pytest for Web Automation Testing: Master Modern Web Testing with Playwright and Pytest in Python
- The DOM in JavaScript, jQuery, AngularJS, and React
- Learning the JavaScript Language
- Learning the JavaScript Language (2019)
- Vue.js 3 Essential Training
- Web Portfolio Projects: Binding and Propagation
- Learning GWT
- JavaScript: Enhancing the DOM