In response to a previous question, I received this helpful answer:
for (var i in someArray) {
if ({}.hasOwnProperty.call(someArray, i))
alert(someArray[i]);
}
My questions are:
Where can I read about the {} construct? I cannot find it in the jQuery docs, and it is impossible to google for.
Where can I read about the call() function. Searching the jQuery API site does not turn up anything seemingly related.
Thanks.