ecmascript-types
ecmascript-types copied to clipboard
ECMAScript Optional Static Typing Proposal http://sirisian.github.io/ecmascript-types/
WIP issue. TODO: Include references to the various random number and seeded random proposals. Stuff like: ```js Math.random(0, 100); ``` TODO: seeded random examples and unseeded ones TODO: different standard...
A keyword or function that returns the number of bytes of an object. This would include class value types which have a fixed size. Languages handle this slightly differently, but...
I foresee people importing the browser WebIDL interfaces and using them heavily in web applications or frameworks. These interfaces would be available by browsers natively in parallel with this specification....
Since performance is a core part of adding native types it's probably good to ensure that any reference proposal syntax is compatible with value type classes and such. Related to...
Added notes for "type records". Very rough. https://github.com/sirisian/ecmascript-types/blob/master/typerecords.md