About this Course

Have you been dabbling with JavaScript but find your files keep turning into a mess of spaghetti code? Do you find yourself copying and pasting lines of code over and over throughout your application? Surely there’s a better way, right?

Yes, there is a better way -- object-oriented programming will allow you to build websites using reusable blocks of code known as libraries, similar to using bricks to build a house. This course is designed to teach web developers how to utilize the various object-oriented programming features within JavaScript, and more importantly, how to write reusable and maintainable libraries that will make your life easier.

Course Cost
Free
Timeline
Approx. 5 weeks
Skill Level
Intermediate
Included in Course
  • Icon course 01 3edf6b45629a2e8f1b490e1fb1516899e98b3b30db721466e83b1a1c16e237b1 Rich Learning Content

  • Icon course 04 2edd94a12ef9e5f0ebe04f6c9f6ae2c89e5efba5fd0b703c60f65837f8b54430 Interactive Quizzes

  • Icon course 02 2d90171a3a467a7d4613c7c615f15093d7402c66f2cf9a5ab4bcf11a4958aa33 Taught by Industry Pros

  • Icon course 05 237542f88ede3178ac4845d4bebf431ddd36d9c3c35aedfbd92e148c1c7361c6 Self-Paced Learning

  • Icon course 03 142f0532acf4fa030d680f5cb3babed8007e9ac853d0a3bf731fa30a7869db3a 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

by Hack Reactor

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

Icon steps 54aa753742d05d598baf005f2bb1b5bb6339a7d544b84089a1eee6acd5a8543d

Course Leads

  • Michael Wales
    Michael Wales

    Instructor

  • Marcus Phillips
    Marcus Phillips

    Instructor

What You Will Learn

Lesson 1

Scopes and Closures

  • Learn about JavaScript’s variable scoping, including lexical scopes and dynamics scopes.
  • Introduction to closures, an incredibly useful feature available in only a handful of languages.
Lesson 1

Scopes and Closures

  • Learn about JavaScript’s variable scoping, including lexical scopes and dynamics scopes.
  • Introduction to closures, an incredibly useful feature available in only a handful of languages.
Lesson 2

The Keyword “this”

  • Start your dive into JavaScript object-oriented features by discovering the parameter “this”.
  • Learn how the value of “this” is determined within various code structures.
  • Why it might be a lot easier to think of “this” as a parameter rather than a keyword.
Lesson 2

The Keyword “this”

  • Start your dive into JavaScript object-oriented features by discovering the parameter “this”.
  • Learn how the value of “this” is determined within various code structures.
  • Why it might be a lot easier to think of “this” as a parameter rather than a keyword.
Lesson 3

Prototype Delegation

  • Learn more about protype delegation.
  • How JavaScript uses this feature internally.
  • How you can take advantage of it to maximize your application’s memory footprint.
Lesson 3

Prototype Delegation

  • Learn more about protype delegation.
  • How JavaScript uses this feature internally.
  • How you can take advantage of it to maximize your application’s memory footprint.
Lesson 4

Code Reuse

  • Start writing a library using basic functions and learn the decorator pattern.
  • Refactor this library into the functional, prototypal and pseudoclassical inheritance models.
  • Explore sub-classing - objects that inherit from objects previously defined.
Lesson 4

Code Reuse

  • Start writing a library using basic functions and learn the decorator pattern.
  • Refactor this library into the functional, prototypal and pseudoclassical inheritance models.
  • Explore sub-classing - objects that inherit from objects previously defined.

Prerequisites and Requirements

This course is for beginner to intermediate web developers with an understanding of JavaScript syntax. Specifically, you should know how to write control structures, how to write simple functions, and recognize the different variable types in JavaScript. As well as be able to read existing JavaScript code with these features and predict its outcome. If you need a refresher on these prerequisites, check out our JavaScript Basics course!

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 write 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 a variety of JavaScript objects and explore how their different inheritance models affect your code’s execution and in-memory model. You’ll use these features to write memory efficient code and seek simplicity and modularity in your own code.

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

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

前往优达学城中文网站 Ir para a página brasileira Go to Indian Site or continue to Global Site