MK
Size: a a a
MK
D
IK
IK
VK
IK
IK
IK
IK
VK
MK
getaddrinfo ENOTFOUND db
IK
IK
MK
getaddrinfo ENOTFOUND db
`IK
А
DZ
js})()
function makeCounter() {
let value = 0;
return {
increase() {
value += 1;
},
decrease() {
value -= 1;
},
getCurrent() {
return value;
}
}
}
// VS
const Counter = (() => ({
make() {
return {
contents: 0,
}
},
increase(it) {
it.contents += 1
},
decrease(it) {
it.contents -= 1
},
getCurrent(it) {
return it.contents
}
RM
DZ
RM