/es-45

Primary LanguageJavaScript

Exercise 45

Create a constructor function called Smartphone that takes in 3 parameters: brand,name, price. To create an object from a constructor function, we use the new keyword. Create two different objects.

es-45