Skip to content

Commit

Permalink
add backlink to tc39/ecma262#562
Browse files Browse the repository at this point in the history
  • Loading branch information
claudepache authored Dec 10, 2019
1 parent 573bff6 commit 02a2165
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
* Main author: Claude Pache ([@claudepache](https://github.com/claudepache))
* Champion: Mark S. Miller ([@erights](https://github.com/erights))

## Previous discussion

* [tc39/ecma262#562](https://github.com/tc39/ecma262/issues/562)

## Introduction

Deprecated (as it breaks encapsulation provided by functions), but needed for web compatibility.
Expand All @@ -18,7 +22,6 @@ Goals:
* Cross-realm leakages are prevented.
* It is easy to completely remove the functionality for a given realm.


In annex B.

> NOTE. Implementations have historically provided “caller” and “arguments” magic properties on functions. The following semantics allow them to keep backward compatibility with those deprecated features while limiting the API surface and safely restricting their functionality to some class of legacy functions and avoiding any cross-realm leakages.
Expand Down

0 comments on commit 02a2165

Please sign in to comment.