Duration: 18 minutes
Summary: After working with literal objects, this video continues the discussion by creating user- defined objects. We create a Book object (using a function), then we add the following functions: GetFeedback() and ToString(). The GetFeedback() function gets information from the user about the book using the prompt function. ToString(), as the name implies, prints information about the book on the screen. In the body of the page, we use 'new' to create an instance of the book and use that instance to call the methods.
Methodology of the development of example: coding based on international standards and sharing application in client / server.Technology Used: JavaScript – Core language Concepts
Keywords: JavaScript, HTML, function, this, var, return.