JavaScript compare two objects and get differences | Code

JavaScript compare two objects and get differences | Code