TypedArrays incorrectly write to "NaN" properties #886
Labels
confirmed
issue reported has been reproduced
fixed - please verify
Issue has been fixed. Please verify and close.
Environment: XS 11.6.0 32 4
Description
XS incorrectly honors writes to a typed array property named "NaN".
Steps to Reproduce
Expected behavior
Per Integer-Indexed Exotic Objects [[Set]] (and related internal methods), any string-valued property recognized as a canonical numeric string by CanonicalNumericIndexString should be subject to special treatment that includes silent failure when the property name is out of bounds or non-integer. Above,
Reflect.set
correctly returns true but the subsequent read should returnundefined
.The text was updated successfully, but these errors were encountered: