Answers for "how to create instance of the class created with constructor"

0

how to create instance of the class created with constructor

const Prius = new Car('Prius', 4, true);  
Prius.displayMake(); // This car is Prius
Posted by: Guest on June-01-2021

Code answers related to "how to create instance of the class created with constructor"

Browse Popular Code Answers by Language