Determine if the Object is empty
Return true if the given object has no key-value pair.
Sample Code:
function emptyObj(obj) {
// Enter your logic here...
}
Examples:
Input: {}
Output: true
Explanation: The given object has no property/value.
Input: {lang:'Javascript'}
Output: false
Explanation: The given object is not empty.