In this article, we’ll discuss the object oriented aspects of JavaScript language. We can define or create a JavaScript object with an object literal by encapsulating all the methods and properties within the curly braces. In the previous section, we have created an object john which was a human. Now, what if we want to create
Table of contents
Object Literal1 Comment
Sort: