Typechecking is a problem.
typeof is limited and allows host objects to return anything. The
problem is that some host objects return function, for example, a
NodeList in Safari. This is perfectly legal, according to the spec.
Checking instanceof between frames doesn't work.
var i =
On 10/10/07, Brendan Eich [EMAIL PROTECTED] wrote:
On Oct 10, 2007, at 3:53 PM, Garrett Smith wrote:
Typechecking is a problem.
typeof is limited and allows host objects to return anything. The
problem is that some host objects return function, for example, a
NodeList in Safari. This
On Oct 10, 2007, at 3:53 PM, Garrett Smith wrote:
Typechecking is a problem.
typeof is limited and allows host objects to return anything. The
problem is that some host objects return function, for example, a
NodeList in Safari. This is perfectly legal, according to the spec.
See