archives

« Bugzilla Issues Index

#4228 — 22.2.1.5 %TypedArray%: Change "all other argument combinations" to "no arguments" or remove ?


22.2.1.5 %TypedArray% ( all other argument combinations )

The only other argument combination is "no arguments", all other combinations are handled in 22.2.1.1-4.


22.2.1.5 should either be changed to:
> 22.2.1.5 %TypedArray% ( no arguments )

or 22.2.1.1 should be changed to handle the zero arguments case.


Common browser behaviour for zero arguments (tested IE11, SpiderMonkey (hg tip), JavaScriptCore (trunk), V8 (master), Nashorn (hg tip)):
Zero arguments is handled as `0`, e.g. `new Int8Array().length === 0` in all engines tested. Also: `new Int8Array(undefined)` throws in 3/5 engines tested.


fixed in rev37 editor's drafft


In Rev37