Question: This should be done in JAVASCRIPT. Add a method to the Person's prototype called shoutName that returns the person's name in all uppercase letters. 1
This should be done in JAVASCRIPT.
Add a method to the Person's prototype called "shoutName" that returns the person's name in all uppercase letters. 1 function Person(name) 3 4 5 /* Do not modify code below this line/ 7 john new Person('John'); const console.log(john.shoutName), = '
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
