Skip to content

Study of JavaScript objects with practical examples covering object creation, encapsulation, inheritance, polymorphism, and data type verification.

Notifications You must be signed in to change notification settings

AsrielDreemurrGM/JavaScript_Objects_Study

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

JavaScript Objects Study

Este README também está disponível em Português.

This project is a comprehensive study of JavaScript objects with detailed examples and explanations on object creation, encapsulation, inheritance, and polymorphism.

Project Overview

The code demonstrates different ways to create objects in JavaScript, usage of constructor functions, encapsulation techniques with private properties, inheritance between constructors, polymorphism through method overriding, and checking data types and instances.

Features

  • Object creation using literals and constructor functions
  • Encapsulation of private properties with getters and setters
  • Inheritance of properties and methods between constructors
  • Polymorphism with method overriding in subclasses
  • Verification of data types and instances using typeof and instanceof
  • Clear and explanatory comments throughout the code

Technologies Used

  • JavaScript (ES5 syntax)

Usage

Run the main.js file using Node.js or any JavaScript environment to see the examples and console outputs.

About

Study of JavaScript objects with practical examples covering object creation, encapsulation, inheritance, polymorphism, and data type verification.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published