You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/* write a function deepEqual that takes two values and return true only if they are the same value or are objects with the same properties, where the values of the properties are equal when compared with a recursive call to deepEqual. */
function deepEqual(val1, val2) {
if (val1 === val2) { // compare the values and types