Problem
Write diff(a, b) that returns the set of differences between two deeply nested JSON objects. For each leaf key that changed, report { from, to }. If a key exists in only one object, the missing side is the string "EMPTY".
function diff(a, b) {
// your code
}