diff options
Diffstat (limited to 'test/built-ins/GeneratorFunction/proto-from-ctor-realm.js')
-rw-r--r-- | test/built-ins/GeneratorFunction/proto-from-ctor-realm.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/built-ins/GeneratorFunction/proto-from-ctor-realm.js b/test/built-ins/GeneratorFunction/proto-from-ctor-realm.js index 313fd4baa..b8215acf4 100644 --- a/test/built-ins/GeneratorFunction/proto-from-ctor-realm.js +++ b/test/built-ins/GeneratorFunction/proto-from-ctor-realm.js @@ -29,10 +29,10 @@ info: | features: [generators, cross-realm, Reflect] ---*/ -var GeneratorFunction = Object.getPrototypeOf(function*() {}).constructor; +var GeneratorFunction = Object.getPrototypeOf(function* () {}).constructor; var other = $262.createRealm().global; var OtherGeneratorFunction = Object.getPrototypeOf( - other.eval('(0, function* () {})') + other.eval('(0, function* () {})') ).constructor; var C = new other.Function(); C.prototype = null; |