Closed Bug 929146 Opened 11 years ago Closed 10 years ago

Properties set on typed arrays are ignored

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 695438

People

(Reporter: irakli, Unassigned)

References

(Blocks 1 open bug)

Details

Example:

var array = new Uint8Array(0)
array.myProp = {}
array.myProp // => undefined


In chrome last line returns object instead
I think the consensus on TC39 is that expando properties should be allowed on typed arrays.
Blocks: es6
I think bhackett fixed this in some bug, but I don't know if it was an absolute total complete fix or only most-of-a-fix.  Leaving to him to resolve accordingly.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.