non-standard: add arguments.caller
Not to be confused with Function#caller. See :
In theory, arguments.caller is only available in sloppy-mode functions with simple arguments list (poison-pilled otherwise). In practice, removed from most (all?) implementations before supporting strict mode (although the poison-pill is implemented).
Current support :
- removed from Mozilla before Firefox was born ;
- removed from IE9 Standards mode, presumably supported by IE5-8 ;
- currently not supported by Chrome or Safari, don’t know about old versions.
Test case: (function () { return 'caller' in arguments })().
It was removed from spec completely: https://github.com/tc39/ecma262/pull/689
It was removed from spec completely:
Yes, and the Non-standard table contains many stuff that is not, will not be, or was removed from spec.
Also: the stuff that is proposed to be added to that compat table is not the stuff that was removed from spec. The spec just added a poison pill in order that the feature in question be not implemented in strict-mode.