🚀🚀
const add2 = add({
get x() {return Math.random()}
})
это чистая функция?
const add3 = (() => {
const x = 0
return add({
get x() {return x}
})
})()
а это чистая функция?
Size: a a a
🚀🚀
const add2 = add({
get x() {return Math.random()}
})
const add3 = (() => {
const x = 0
return add({
get x() {return x}
})
})()
ф
🚀🚀
ф
ф
ф
🚀🚀
const add3 = (() => {
const x = 0
return add({
get x() {return x}
})
})()
🚀🚀
const add3 = (() => {
const x = 0
return add({
get x() {return x}
})
})()
const add4 = (() => {
let x = 0
return add({
get x() {
x += 1
return 5
}
})
})()
🚀🚀
const add4 = (() => {
let x = 0
return add({
get x() {
x += 1
return 5
}
})
})()
🚀🚀
ф
🚀🚀
🚀🚀
🚀🚀
BB
BB
🚀🚀
DS
i
не юзается где либо в другом месте?🚀🚀
BB
i
не юзается где либо в другом месте?