Status: New
Owner: ----

New issue 3088 by [email protected]: No error on object assignment to a number
http://code.google.com/p/v8/issues/detail?id=3088

The following test:

    (function () {
        'use strict';
        var a = 2;
        a[2] = 3;
    })();

doesn't throw in Chrome or Firefox but does throw in Safari 7 with a message:

    TypeError: Attempted to assign to readonly property

I can't find a proper place in the spec but Safari behavior seems more in line with strict mode philosophy so I decided to report it here. Silent errors cause a lot of unnecessary bugs.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to