ES8 Proposal: Optional Static Typing (Brandon Andrews)

Anne van Kesteren annevk at
Mon Jul 20 12:52:17 UTC 2015

On Sun, Jul 19, 2015 at 10:05 PM, Ron Waldon <jokeyrhyme at> wrote:
> We've seen a new pattern in ES5 and continued now with ES2015:
> - Array.isArray()
> - Number.isNumber()
> - Object.isObject()
> - etc...

I can only find the first in this list.

> Perhaps this pattern just needs to be continued for all types, including the
> TypedArrays (if not already being considered). I personally like this
> pattern because it doesn't change typeof, and it provides an less-verbose
> alternative, and it is able to be polyfilled because it's an API addition
> and not a syntax change.

where this was discussed previously and not really met with


More information about the es-discuss mailing list