Skip to content

ArunSaini09/CSCI395-assignment-2-JS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 

Repository files navigation

javascript-methods

Group Members:

Arun Saini - ArunSaini09

JavaScript Prototype: Method

Every object in JavaScript has a built-in property called "prototype."

The prototype constructor is used to add new methods (functions) and properties to a JavaScript object.

  • If a method is constructed, then it will be available for the object.
  • If a property is constructed, then the object will be given the property and its value, as default.

In this Assignment, we use the prototype constructor to add new methods to the Array() object.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •