Question: JavaScript Create a an Object constructor function called MedRecord with the properties firstName, lastName, medRecord, medID, insuranceInfo. Define a MedRecord prototype method called changeInsurance() that
JavaScript
Create a an Object constructor function called MedRecord with the properties firstName, lastName, medRecord, medID, insuranceInfo. Define a MedRecord prototype method called changeInsurance() that accepts the name of a patient new insurance information and update object insuranceInfo property.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
