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

8m read timeFrom medium.com
Post cover image
Table of contents
Object Literal
1 Comment

Sort: