S
javascript
class A {
constructor (c) {
this.c = c
}
b () {
return this.c
}
}
То же самое
javascript
const A = function (c) {
this.c = c
}
A.prototype.b = function () {
return this.c
}

Size: a a a
S
javascript
class A {
constructor (c) {
this.c = c
}
b () {
return this.c
}
}
javascript
const A = function (c) {
this.c = c
}
A.prototype.b = function () {
return this.c
}

S
javascript
class A {
constructor (c) {
this.c = c
}
b () {
return this.c
}
}
javascript
const A = function (c) {
this.c = c
}
A.prototype.b = function () {
return this.c
}

S
====================================================.
DE
DE
.
DE
.
DE
MB
DV
DV
DV
ᅠ
DE
javascript
switch (true) {
case 1 === 2: i = 1
case 2 === 2: i = 2
}
i // 2
S
javascript
switch (true) {
case 1 === 2: i = 1
case 2 === 2: i = 2
}
i // 2

Т
T