Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Treehouse

(UPI) Chapter 7: Advanced JavaScript Object Handling Course (How To)

via Treehouse

Overview

This course is part of our College Credit Program, designed to help you earn college credit while mastering valuable skills. If you're interested in pursuing college credit, click here to learn more.

Chapter 7 of our JavaScript course dives into the intricacies of object manipulation, object-oriented programming (OOP), and the utilization of built-in objects within JavaScript. We begin by exploring the fundamentals of working with objects, including the use of dot and bracket notations, setting object members, and understanding the concept of "this." The journey progresses into object-oriented programming, where we cover classes, instances, inheritance, encapsulation, and the significance of prototypes in JavaScript. Additionally, the chapter introduces the built-in objects available in JavaScript, highlighting their practical applications. We also explore strings and date-time manipulation, focusing on their properties, methods, and usage in JavaScript programming.

Syllabus

Manipulating Objects in JavaScript

This stage explores how to create and manage JavaScript objects using object literals, dot and bracket notation, and constructors. You'll learn to define properties and methods, access and update object members, and utilize the this keyword for dynamic interactions. Additionally, discover how to use constructors to efficiently generate multiple object instances, enhancing your object-oriented programming skills. Mastering these techniques will enable you to structure data effectively and build scalable, robust web applications.

Chevron 1 steps
  • instruction

    Object basics

Object-Oriented Programming in JavaScript

Object-oriented programming (OOP) is a programming paradigm that underpins many widely used programming languages, such as Java and C++. This guide provides an in-depth look at the foundational concepts of OOP: classes and instances, inheritance, and encapsulation. Although the examples provided are in pseudocode, the principles discussed apply to many OOP languages.

Chevron 9 steps
  • instruction

    Classes and instances

  • instruction

    Inheritance

  • instruction

    Encapsulation

  • instruction

    OOP and JavaScript

  • instruction

    Introduction to Object Prototypes

  • instruction

    Own Properties vs. Inherited Properties

  • instruction

    Shadowing properties

  • instruction

    Classes and Constructors

  • Object-Oriented Programming in JavaScript Quiz

    5 questions

Utilizing Built-In Objects

This stage delves into the concept of global objects in JavaScript, which are built-in objects available in the global scope. Understanding these objects is crucial for effective programming in JavaScript, as they provide essential functionalities and tools. Unlike the global object itself, which represents the global environment, global objects are specific entities accessible throughout the global scope.

Chevron 15 steps
  • instruction

    Global Objects

  • instruction

    Value Properties

  • instruction

    Function Properties

  • instruction

    Fundamental Objects

  • instruction

    Error Objects

  • instruction

    Numbers and Data

  • instruction

    Text Processing

  • instruction

    Indexed Collections

  • instruction

    Keyed Collections

  • instruction

    Structured Data

  • instruction

    Managing Memory

  • instruction

    Control Abstraction Objects

  • instruction

    Reflection

  • instruction

    Internationalization

  • Utilizing Built-In Objects Quiz

    5 questions

Strings in JavaScript

This stage covers essential JavaScript string concepts, including string properties like length and various string methods such as concat(), indexOf(), and slice(). Learn how to manipulate and work with strings efficiently using these built-in methods, with practical examples for better understanding.

Chevron 3 steps
  • instruction

    Strings

  • instruction

    Properties and Methods for Strings

  • Strings in JavaScript: Concepts and Exemplifications Quiz

    5 questions

Managing Date and Time in JavaScript

This stage provides a comprehensive guide to JavaScript's Date object, covering its construction, methods, and how to manage date and time. Learn how to work with Date as an integer, handle timezones, and explore the upcoming Temporal API for better date/time manipulation in future JavaScript versions.

Chevron 8 steps
  • instruction

    Comprehensive Guide to JavaScript Date Object and Its Usage

  • instruction

    Constructor

  • instruction

    Methods

  • instruction

    As Integer

  • instruction

    Timezones

  • instruction

    New API: Temporal

  • instruction

    Summary of Chapter 7

  • Managing Date and Time in JavaScript: Features and Practical Examples Quiz

    5 questions

Reviews

Start your review of (UPI) Chapter 7: Advanced JavaScript Object Handling Course (How To)

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.