Create a function that checks to see if two object arguments are equal to one another. Return true if the objects are equal, otherwise, return false.
// The first object parameter.
{
name: "Benny",
phone: "3325558745",
email: "[email protected]"
}
// The second object parameter.
{
name: "Jason",
phone: "9853759720",
email: "[email protected]"
}
➞ false
// The first object parameter.
{
name: "Jason",
phone: "9853759720",
email: "[email protected]"
}
// The second object parameter.
{
name: "Jason",
phone: "9853759720",
email: "[email protected]"
}
➞ true
If you have a suggestion on how to make these instructions easier to understand, please leave a comment. Your feedback is greatly appreciated.