Jan 18 meeting notes

Axel Rauschmayer axel at rauschma.de
Thu Jan 19 20:39:29 PST 2012

> So Object.type is the thing to draft. Probably it should return typeof-like strings with the "null" fix and only that. I do not believe it should start returning "array" for Array instances, or take other experimental risks. But we should discuss.

FWIW: I’ve written down all typeof use cases that I could come up with:

A way of returning [[class]] would be great. Any reason why such a function couldn’t be merged with Object.type()? My attempt at implementing such a merged function (along with a detailed rationale – I prefer returning "Array" to returning "array") is documented here:

Dr. Axel Rauschmayer
axel at rauschma.de

home: rauschma.de
twitter: twitter.com/rauschma
blog: 2ality.com

More information about the es-discuss mailing list