JavaScript, Part 4 of 6: Object Constructors
Interactive

JavaScript, Part 4 of 6: Object Constructors

LearnNow Online
Updated Aug 21, 2018

Course description

JavaScript is the programming language of the World Wide Web, the code that makes a Web page come alive. This course is focused on working with Constructors, Literals and Prototypes of Objects.

Each LearnNowOnline training course is made up of Modules (typically an hour in length). Within each module there are Topics (typically 15-30 minutes each) and Subtopics (typically 2-5 minutes each). There is a Post Exam for each Module that must be passed with a score of 70% or higher to successfully and fully complete the course.

Prerequisites

This course assumes that you have at least some programming experience in one or more modern programming languages. JavaScript will be particularly easy for you to learn if you have experience with any C-style languages—including Java, C#, C++, or Visual Basic .NET would be helpful—but this is not required. The focus here is not on programming concepts but on the structure, syntax, and use of the JavaScript language.

Meet the expert

Don Kiely

Don Kiely is a featured instructor on many of our SQL Server and Visual Studio courses. He is a nationally recognized author, instructor, and consultant specializing in Microsoft technologies. Don has many years of teaching experience, is the author or co-author of several programming books, and has spoken at many industry conferences and user groups. In addition, Don is a consultant for a variety of companies that develop distributed applications for public and private organizations.

 Video Runtime

53 Minutes

Time to complete

206 Minutes

 Course Outline

Objects Constructors

Using the Object Constructor (15:41)

  • Introduction (00:50)
  • Intro to Object-Oriented JS (01:50)
  • Creating JS Objects (01:37)
  • Using the Object Constructor (00:49)
  • Demo: Object Constructor (01:32)
  • Demo: Objects Defined Method (03:13)
  • Demo: None Standard API (00:45)
  • Demo: Read Only Properties (00:54)
  • Demo: Define Methods (01:43)
  • Demo: Exercise Object (01:58)
  • Summary (00:24)

Using an Object Literal (13:52)

  • Introduction (00:37)
  • Using an Object Literal (01:04)
  • Demo: Object Literal (03:05)
  • Hierarchy with Prototypes (00:27)
  • Demo: Prototypes (03:28)
  • Demo: Customer Object (00:55)
  • Demo: Corporate Object (01:55)
  • Object Identity (00:29)
  • Demo: IsPrototypeOf Method (01:13)
  • Summary (00:34)

Custom Object Constructors (23:41)

  • Introduction (01:00)
  • Custom Object Constructors (01:02)
  • Demo: Custom Constructors (03:43)
  • Demo: Customer Prototype (01:34)
  • Demo: Adding Methods (02:32)
  • Demo: Using Constructor (00:58)
  • Demo: Customer Object (02:00)
  • New Constructor Prototype (00:44)
  • Demo: Constructor Prototype (01:16)
  • Demo: Object Literal (01:42)
  • Changing the Prototype (00:44)
  • Demo: Changing the Prototype (04:12)
  • Identity with Constructors (01:08)
  • Demo: Identity (00:26)
  • Summary (00:33)