Comment #5 on issue 2532 by [email protected]: Create Map object that does
not have __proto__ quirk
http://code.google.com/p/v8/issues/detail?id=2532
The primary pitfall to using Harmony Maps is that it requires a change in
syntax. This means longer code if you use Harmony Maps from the ground up.
For retrofitting it means serious code changes.
The ideal solution in my mind would require nothing more than for me to
replace the relevant instances of {} with Object.create(null).
The ideal (and perhaps breaking change of) functionality for JSON.parse
would be to use Object.create(null), which in turn would leave toString and
__proto__ to be null.
--
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.