Joined September 2012
·

Denis Jacquemin

Belgium
·
·
·

Hi, I'm wondering why the use of hasOwnProperty is required?

function isEmpty(arg) {
  for (var item in arg) {
    return false;
  }
  return true;
}
Achievements
120 Karma
1,428 Total ProTip Views