File tree 1 file changed +11
-2
lines changed
1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change 163
163
tests :
164
164
- https://github.com/tc39/test262/issues/1161
165
165
specification : https://tc39.github.io/proposal-class-fields/
166
+ example : >
167
+ class Foo {
168
+ instancePropertyBar = 0;
169
+ static staticPropertyBar = 0;
170
+ #privatePropertyBar = 0;
171
+ static #privatePropertyBar = 0;
172
+
173
+ set foo(value) { console.log(value); }
174
+ }
166
175
resources :
167
- - https://github.com/tc39/proposal-numeric-separator
176
+ - https://github.com/tc39/proposal-class-fields
168
177
169
178
- title : Static class fields and private static methods
170
179
description : This proposal adds Static public fields, Static private methods and Static private fields
319
328
// Unpaired surrogate code units will serialize to escape sequences.
320
329
JSON.stringify('\uDF06\uD834')
321
330
// → '"\\udf06\\ud834"'
322
-
331
+
323
332
JSON.stringify('\uDEAD')
324
333
// → '"\\udead"'
325
334
You can’t perform that action at this time.
0 commit comments