typeof null

Jorge jorge at jorgechamorro.com
Wed May 9 15:18:18 PDT 2012

On May 9, 2012, at 11:43 PM, Brendan Eich wrote:
> I think we should consider Object.isObject just because the typeof null change replaced it, but 1JS killed that replacement. Also gives Object.isValue and Array.isArray some company ;-).

Why not .isPrimitive()? We've always been talking about primitive values and objects, isn't it?

Are we going to have RegExp.isRegExp() and Date.isDate() and Number.isNumber() etc. too ?

More information about the es-discuss mailing list