Introduction

JavaScript is an essential part of programming nowadays… And as an object-oriented programmer who have used Java or C# or C++ for some time, there are many weird things when you look at JavaScript, especially for the first time!

In this Object/Prototype based (and not Object-Oriented!) language, you don’t have concepts like classes/instances, at least the same way you have them in OO languages. In JavaScript, we only have Objects! And the objects are “prototypical”; they could be used as “prototypes” for other objects, which basically let them share their properties (and functions.)

In other words, objects in JavaScript inherit their properties (and functions) from their prototypes. Therefore, to understand JavaScript better, one should first try to understand prototypes.

This course tries to teach you the principles of JavaScript prototypes in less than an hour, in an "easy to catch" manner 😊

Curriculum

  • 02
    Chapter 2- Prototypes and Prototype Chains in JavaScript
    Show Content
  • 03
    Chapter 3- Constructor Functions and Prototypes in JavaScript
    Show Content
    • Constructor Functions in JavaScript
    • Constructor Functions and Prototypes
    • Code Snippets Used in Chapter 3
    • Before You Leave This Chapter...
  • 04
    Chapter 4- More on "this" in Constructor Functions
    Show Content
    • Using "this" in Constructor Functions
    • Code Snippet Used in Chapter 4
    • Before You Leave This Chapter...
  • 05
    Chapter 5- An Example of Using Prototypes in JavaScript
    Show Content
    • Mimicking Class Inheritance in OO Languages Using Prototypes in JavaScript
    • Code Snippet Used in Chapter 5
    • Before You Leave This Chapter...
  • 06
    Chapter 6- Wrap Up
    Show Content
    • Best Practices and References
    • Before You Leave This Chapter...
    • Before you go...
    • You're done!
    • Audio Files of the Videos in this Course

What this course contains? And how long it takes?

  • Course Objectives

    Check What You'll Learn!

  • 8 Videos

    HD!

  • 48 Minutes

    and 42 Seconds!

  • 5 Downloads

    of Code Snippets (and Audio Files of the Videos!)

  • 6 quizzes

    One at the End of Each Chapter

  • 8 Audio Files

    of the Videos, While on Your Way!

Learn about Prototypes in JavaScript

Be one of the firsts to hear about our future courses, and

Register Now

About the Instructor

Reza Khojasteh has been a software developer and instructor for more than two decades now, although he loves teaching the most!

He holds B.Sc. and M.Sc. degrees in computer science and software engineering and has always been passionate to find new methods to teach the concepts of computing and programming to students, in the easiest possible ways.

Doing that, he has tried to constantly observe the real world to find samples/patterns in the real life, and use them to convey the concepts of the cyber world, better.

He mostly considers himself as a "second teacher"; a phrase which he has made up to express what he does; learning new subjects and teaching them to others, so that they would be easier to catch!

  • What Others Say

    "I first met Reza back in 1998 when I was a first-year software engineering student at AmirKabir University of Technology. He was one of the best senior students in our department and very active in both "Algorithm Design and Implementation" and "Artificial Intelligence." Through my interactions with Reza in his C++ class and with him in the RoboCup competitions, I became very interested in pursuing Artificial Intelligence, which led me to choose AI as my primary area of research in grad school and a career with AI at its core. I consider Reza as one of my most influential instructors and I highly recommend his mentoring and instructional services."

    Reza Rastegar

    Ph.D. in Applied Mathematics at Iowa State University and Director of Data Analytics in Occidental Petroleum, Houston, TX, USA

    Reza Rastegar
  • What Others Say

    "Reza was very well known in my university years amongst the more junior students for his excellent teaching skills. He was very good at articulating rather complex programming paradigms and concepts in an understandable manner and to initiate enthusiasm amongst the students. What is more, he was very patient with students and ready to answer question after question."

    Amir Hadad

    Ph.D. in Computer Science at the Australian National University and Lead Architect (Big Data Solutions) at Capgemini, Canberra, Australia

    Amir Hadad
  • What Others Say

    Reza was my first undergraduate instructor in the "Introduction to Computer Engineering" class at the School of Computer Engineering at Amirkabir University of Technology. In my opinion, and many others who have attended his classes, he is a very smart person, knowledgeable in computer science, eager to share his knowledge and expertise with others, and a really good teacher. I greatly admire his continuous efforts to share his knowledge with others through creating this website and recommend taking his online courses to everyone who is interested in learning computer science.

    Hamed Janzadeh

    Senior Machine Learning SDE, AmazonAI, Amazon Web Services, Palo Alto, CA, USA

    Hamed Janzadeh

Learn about Prototypes in JavaScript

Be one of the firsts to hear about our future courses, and

Register Now

Your Reviews

  • Ali Ahmadi

    “Excellent Course on JavaScript Prototypes!”

    “Excellent Course on JavaScript Prototypes!”

    Read Less