Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Practice with JavaScript objects covering class constructors, inheritance, methods, and polymorphism, with detailed comments in the code.

Notifications You must be signed in to change notification settings

AsrielDreemurrGM/JavaScript_Object_Practice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

3 Commits

Repository files navigation

JavaScript Object Practice

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

This project is a hands-on practice with JavaScript objects, focusing on creating classes, constructors, methods, inheritance, and polymorphism.

Project Overview

The code demonstrates defining base classes and subclasses using constructor functions and prototype inheritance. It includes examples of method overriding and encapsulation with practical use cases involving different house types.

Features

  • Base class and subclasses with shared and unique properties
  • Prototype-based inheritance
  • Method definition and polymorphism
  • Use of constructor functions and prototype chaining
  • Comments explaining key concepts in the code

Technologies Used

  • JavaScript (ES5 syntax)

Usage

Run the main.js file in any JavaScript environment (browser console or Node.js) to see object creation and method calls in action.

About

Practice with JavaScript objects covering class constructors, inheritance, methods, and polymorphism, with detailed comments in the code.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /