Should host objects be counted as plain objects in an isPlainObject function?
I've been doing some testing of isPlainObject functions from different libraries on different browsers. There are 4 different (code wise) isPlainObject functions being tested on a wide range of objects: jquery lodash utility (a library that I'm working on) alternative, suggested in comments below All four of the above show differences on Chrome v23.0.1271.95 through to Chrome v25.0.1364.160, FireFox v 19.0 an Opera v12.14, but utility at least gives the same response of false for these object on all the browsers The tests on jsfiddle when run on Chrome Failed to agree: JSON - jquery: true -