| javascript Programming Glossary: propnameComparing two arrays in Javascript http://stackoverflow.com/questions/7837456/comparing-two-arrays-in-javascript  object2 For the first loop we only check for types for propName in this Check for inherited methods and properties like .equals.. if the return value is different if this.hasOwnProperty propName object2.hasOwnProperty propName  return false  Check instance.. if this.hasOwnProperty propName object2.hasOwnProperty propName  return false  Check instance type else if typeof this propName.. 
 |