« Bugzilla Issues Index
#1676 — 15.13.5, 15.13.6: Constructor text no longer valid, `new` is necessary to create an instance
- bug_id:
1676
- creation_ts:
2013-07-31 06:29:00 -0700
- short_desc:
15.13.5, 15.13.6: Constructor text no longer valid, `new` is necessary to create an instance
- delta_ts:
2013-08-23 08:22:50 -0700
- product:
Draft for 6th Edition
- component:
editorial issue
- version:
Rev 16: July 15, 2013 Draft
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
normal
- everconfirmed:
true
- reporter:
André Bargull
- assigned_to:
Allen Wirfs-Brock
- commentid:
4651
- comment_count:
0
- who:
André Bargull
- bug_when:
2013-07-31 06:29:14 -0700
15.13.5.2 The ArrayBuffer Constructor:
> When ArrayBuffer is called as a function rather than as a constructor, it creates and initialises a new
> ArrayBuffer object. Thus the function call ArrayBuffer(…) is equivalent to the object creation expression
> new ArrayBuffer (…) with the same arguments.
15.13.6.4 The TypedArray Constructors:
> When a TypedArray constructor is called as a function rather than as a constructor, it creates and initialises a
> new TypedArray object. Thus the function call TypedArray (…) is equivalent to the object creation
> expression new TypedArray (…) with the same arguments.
But when ArrayBuffer(...) or TypedArray(...) is called as a function, it only initialises an object, it no longer creates a new instance.
- commentid:
4694
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2013-08-01 17:42:23 -0700
fixed in rev17 editor's draft
- commentid:
4712
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2013-08-01 18:45:11 -0700
fixed in rev17 editor's draft
- commentid:
5110
- comment_count:
3
- who:
Allen Wirfs-Brock
- bug_when:
2013-08-23 08:22:50 -0700
fixed in rev17, August 23, 2013 draft