Updates:
Status: Invalid
Comment #1 on issue 2880 by a...@chromium.org: PutValue to primitives should
throw in strict mode
http://code.google.com/p/v8/issues/detail?id=2880
Sorry, this is invalid. Here is why:
http://people.mozilla.org/~jorendorff/es6-draft.html#sec-6.2.4.2
5. Is false since the base is not undefined or null. It is a primitive.
6. Is true, since IsPropertyReference(V) is true because HasPrimitiveBase
is true
HasPrimitiveBase(V). Returns true if the base value is a Boolean, String,
or Number.
IsPropertyReference(V). Returns true if either the base value is an object
or HasPrimitiveBase(V) is true; otherwise returns false.
5.a is true, base becomes ToObject, which is a new Number object wrapper.
This then calls [[Get]] which does not fail.
--
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
v8-dev@googlegroups.com
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 v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.