About this Course

This course is designed to teach web developers how to utilize the various object-oriented programming features within JavaScript. Object-oriented programming allows developers to build applications with reusable and maintainable blocks of code, which leads to efficiency and simplified software design.

With object-oriented JavaScript, you'll be able to build classes to construct objects that encapsulate both data and functionality. You'll also learn how to leverage prototypal inheritance to maintain DRY code, allowing you to pass behaviors down to objects. You'll also learn how to keep data safe and secure by creating private state with closures and immediately-invoked function expressions.

Course Cost
Free
Timeline
Approx. 3 weeks
Skill Level
Intermediate
Included in Course
  • Rich Learning Content

  • Interactive Quizzes

  • Taught by Industry Pros

  • Self-Paced Learning

  • Student Support Community

Join the Path to Greatness

This free course is your first step towards a new career with the Front-End Web Developer Nanodegree Program.

Free Course

Object-Oriented JavaScript

Enhance your skill set and boost your hirability through innovative, independent learning.

Icon steps

Course Leads

  • Richard Kalehoff
    Richard Kalehoff

    Instructor

What You Will Learn

Lesson 1: Objects in Depth

  • Create objects and add/remove properties to them
  • Write methods to access and mutate an object's properties
  • Learn how variables are properties on window

Lesson 2: Functions at Runtime

  • Leverage functions as first-class functions
  • Identify when a scope is created
  • Utilize closures and IIFE's to build private state

Lesson 3: Classes and Objects

  • Write a constructor function to instantiate objects
  • Identify and manually set the value of this
  • Implement prototypal inheritance

Prerequisites and Requirements

This course builds on the skills covered in Intro to JavaScript. Prior to taking this course, the student should be able to:

  • Explain and utilize JavaScript's primitive types
  • Write conditions and loops
  • Recognize object syntax and structure
  • Declare functions
  • Navigate and use Chrome DevTools

See the technology requirements for using Udacity.

See the Technology Requirements for using Udacity.

Why Take This Course

As a front-end web developer, JavaScript is one of the most important languages in your toolbox. A strong foundation in the language’s features empowers you to build efficient and performant web applications. In this course, you’ll explore a variety of ways to write object-oriented code in JavaScript.

You’ll build classes to create new objects that share similar data and functionality. You'll reduce your development time by leveraging JavaScript's prototypal inheritance model, leading to modular and reusable code. And thanks to abstraction and private state, your data will be safe and secure.

What do I get?
  • Instructor videos
  • Learn by doing exercises
  • Taught by industry professionals
Icon globe

Udacity 现已提供中文版本! A Udacity tem uma página em português para você! There's a local version of Udacity for you! Sprechen Sie Deutsch?

Besuchen Sie de.udacity.com und entdecken Sie lokale Angebote, unsere Partnerunternehmen und Udacitys deutschsprachigen Blog.

前往优达学城中文网站 Ir para a página brasileira Go to Indian Site Icon flag de Zu de.udacity.com continue in English