If you haven't already, you need to clone this repo and create a new working branch for yourself.
And you're ready to work!
Refactor this function to accept a single object as a parameter instead of five seperate parameters
function recordMaker (name, address, phoneNumber, age, wombat) {
console.log(name + " is " + age + "years old, and lives at " + address);
if (wombat) {
console.log("Calling " + name + " at " + phoneNumber + " about their wombat");
} else {
console.log(name + " doesn't have a wombat");
}
}
upload you work as recordMaker.js
Use the class creation pattern to implement a RoadSign class. It should have text, color and shape properties. Use the constructor to create a Yield Sign, a Stop Sign and a Speed Limit Sign.
upload your work as roadsign.js
TBA