new slotstxt
new operator What is the ‘new’ keyword in JavaScript? All objects created from this constructor will now have a getName because of the prototype chain
new operator What is the ‘new’ keyword in JavaScript? All objects created from this constructor will now have a getName because of the prototype chain