File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -157,12 +157,12 @@ module.exports = {
157157 const result = await a * b;
158158 return result;
159159 },
160- class: new class Bar {
160+ class: new ( class Bar {
161161 constructor () {
162162 this .array = [1 , 2 , 3 ];
163163 }
164164 foo () {}
165- },
165+ })() ,
166166 object: {
167167 baz: ' foo' ,
168168 bar: {
Original file line number Diff line number Diff line change @@ -153,12 +153,12 @@ module.exports = {
153153 const result = await a * b;
154154 return result;
155155 },
156- class: new class Bar {
156+ class: new ( class Bar {
157157 constructor () {
158158 this .array = [1 , 2 , 3 ];
159159 }
160160 foo () {}
161- },
161+ })() ,
162162 object: {
163163 baz: ' foo' ,
164164 bar: {
Original file line number Diff line number Diff line change @@ -157,12 +157,12 @@ module.exports = {
157157 const result = await a * b;
158158 return result;
159159 },
160- class: new class Bar {
160+ class: new ( class Bar {
161161 constructor () {
162162 this .array = [1 , 2 , 3 ];
163163 }
164164 foo () {}
165- },
165+ })() ,
166166 object: {
167167 baz: ' foo' ,
168168 bar: {
Original file line number Diff line number Diff line change @@ -157,12 +157,12 @@ module.exports = {
157157 const result = await a * b;
158158 return result;
159159 },
160- class: new class Bar {
160+ class: new ( class Bar {
161161 constructor () {
162162 this .array = [1 , 2 , 3 ];
163163 }
164164 foo () {}
165- },
165+ })() ,
166166 object: {
167167 baz: ' foo' ,
168168 bar: {
You can’t perform that action at this time.
0 commit comments