Different object types
Quick shot,
in jQuery, $("#doesNotExist") returns "Object [ ]".
in JavaScript, (function(){return new Object;}).call(); returns "Object{ }".
(Note [] vs {}, according to Firebug, latest version).
I'm not sure what to search for, but I'm wondering about the difference
and how to get an equal result in JavaScript. Thanks in advance.
No comments:
Post a Comment