JavaScript: Objects and Object-oriented Programming


Overview/Description
Target Audience
Expected Duration
Lesson Objectives
Course Number



Overview/Description
Object-oriented programming is an important feature of JavaScript. This course will explore the advantages and implications of object-oriented programming, and prepare the learner to create and utilize user-defined objects in JavaScript. It will also introduce key objects that are part of the JavaScript language, including String, Math, Number, and Date objects, as well as arrays. The course will survey common methods and contexts for using these native objects. This course is one of a series covering the fundamentals of the JavaScript language.

Target Audience
All organizations or individual consultants with a working knowledge of HTML and basic programming concepts, who intend to use JavaScript with HTML to develop interactive web applications that utilize cross-browser client-side scripting.

Expected Duration (hours)
2.5

Lesson Objectives

JavaScript: Objects and Object-oriented Programming

  • identify the benefits of object-oriented programming
  • recognize how JavaScript uses the concepts of extensibility and encapsulation
  • recognize the basic structure and function of the Object object in JavaScript
  • recognize how to create and use an object
  • recognize how the prototype object extends an object
  • create a constructor function for an object
  • extend an object using the prototype object
  • create an object of a particular type
  • recognize the appropriate String object method to use in a given scenario
  • recognize how to define elements for an array object
  • recognize how to use the appropriate array object method to achieve a desired result
  • recognize how to fill in the appropriate Math method to give a desired result
  • recognize how to use a method of the Number object to return a given result
  • recognize how to return a date or time using the Date object
  • use objects to calculate numerical and date information
  • use String object methods to check character codes and store data in an array
  • use Array object methods to process and write selected elements
  • Course Number:
    sl_jasc_a02_it_enus