|
|
|
|
|
by jorgenhorstink
3385 days ago
|
|
Is my understanding of ES6 classes wrong, or is the first migration rule in paragraph 3.1 missing the static keyword? I'd think it should be: // ES5
C.m3 = function(p3) { B4; }
// ES6
class C {
...
static m3(p3) { B4; }
}
|
|