Some Typed Objects Confusion

Andrea Giammarchi andrea.giammarchi at gmail.com
Tue Aug 20 13:31:27 PDT 2013


[In this page](http://wiki.ecmascript.org/doku.php?id=harmony:typed_objects),
and in the latest meeting note too, I can read both uint8 and Uint8, as
example.

Same if for all other types included `boolean`, and `string`, where these
are historically `typeof variable` without meaning variable is `instanceof
String` or `Boolean`.

**The Question**
How is `new StructType({x:Uint32, y:Uint32})` supposes to understand the
type? `instanceof Uint32` or `typeof v === "uint32"` or ... both in case of
`boolean` and `string` ?

A bonus question would be: does anybody know when this stuff is planned to
go out? Not a single beta/alpha channel is exposing anything at all so far.

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130820/b5b7eb4e/attachment.html>


More information about the es-discuss mailing list