Skip to content

Commit

Permalink
ES Experimental: Remove 'global'. Fixes inexorabletash#118
Browse files Browse the repository at this point in the history
  • Loading branch information
inexorabletash committed Sep 3, 2020
1 parent 8de025d commit 6dbd1a4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
10 changes: 0 additions & 10 deletions experimental/es-proposed.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,16 +147,6 @@
// Stage 3
//----------------------------------------------------------------------

// https://github.com/tc39/proposal-global
if (!('global' in global)) {
Object.defineProperty(global, 'global', {
value: global,
configurable: true,
enumerable: false,
writable: true
});
}

// https://github.com/tc39/proposal-promise-finally
define(
Promise.prototype, 'finally',
Expand Down
1 change: 0 additions & 1 deletion experimental/es-proposed.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ Per https://github.com/tc39/ecma262

See also:

* `global` [ref](https://github.com/tc39/proposal-global)
* Promise prototype: `finally()` [ref](https://github.com/tc39/proposal-promise-finally)
* Array prototype: `flatten()` and `flatMap()` [ref](https://tc39.github.io/proposal-flatMap/)

Expand Down

0 comments on commit 6dbd1a4

Please sign in to comment.