Skip to content
This repository was archived by the owner on Dec 14, 2021. It is now read-only.

Commit 6dbd1a4

Browse files
ES Experimental: Remove 'global'. Fixes #118
1 parent 8de025d commit 6dbd1a4

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

experimental/es-proposed.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -147,16 +147,6 @@
147147
// Stage 3
148148
//----------------------------------------------------------------------
149149

150-
// https://github.com/tc39/proposal-global
151-
if (!('global' in global)) {
152-
Object.defineProperty(global, 'global', {
153-
value: global,
154-
configurable: true,
155-
enumerable: false,
156-
writable: true
157-
});
158-
}
159-
160150
// https://github.com/tc39/proposal-promise-finally
161151
define(
162152
Promise.prototype, 'finally',

experimental/es-proposed.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ Per https://github.com/tc39/ecma262
99

1010
See also:
1111

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

0 commit comments

Comments
 (0)