What's the explanation and reason for this strange characteristic of
the OBJECT element in Firefox?

Firefox 31:
typeof document.createElement("object")
"function"
Function.prototype.toString.call(document.createElement("object"));
TypeError: Function.prototype.toString called on incompatible object

If the typeof OBJECT results "function" then it either:
a) implements [[Call]] or
b) is exotic

Since calling `Function.prototype.toString` with OBJECT as the this
value results in a TypeError, it appears that the OBJECT does not
implement [[Call]] and thus the only explanation is that the OBJECT is
exotic. Did I get that right? Or is there another explanation?

What's the explanation and reason for this strange characteristic of
the OBJECT element in Firefox?
-- 
Garrett
@xkit
ChordCycles.com
garretts.github.io
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to