While looking at a test262 bug (
https://bugs.chromium.org/p/v8/issues/detail?id=4925) I ran into an old
problem: it seems that our builtin functions are always sloppy mode, which
means that they inappropriately have 'caller' and 'arguments' own
properties (https://bugs.chromium.org/p/chromium/issues/detail?id=516666).

Does anyone have some background on this? How tricky would it be to make
our builtins "strict"? It seems unfortunate that code written in C++
reflects as sloppy (Array.prototype.push, for example) while code written
in JS is strict (Map.prototype.get, e.g.).

- Adam

-- 
-- 
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/d/optout.

Reply via email to