Axel Rauschmayer wrote:
What's the underlying theory for extending instanceof?

The idea would be to not use the proto chain (which would be odd for primitive values, anyway), to make these “pseudo-types” special.

That's not much of a theory :-P. So hardcode two or three special cases? Yikes.

/be
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to