В-
Мне же надо просто эту переменную всунуть в ссылку, а я не могу понять
Size: a a a
В-
Q
Promise.resolve()
.then(() => console.log('a 1'))
.then(() => console.log('a 2'))
.then(() => console.log('a 3'))
.then(() => console.log('a 4'))
Promise.resolve()
.then(() => console.log('b 1'))
.then(() => new Promise(resolve => {
console.log('b 2')
resolve()
}))
.then(() => console.log('b 3'))
.then(() => console.log('b 4'))
setTimeout(() => console.log('macro'))
// a 1
// b 1
// a 2
// b 2
// a 3
// a 4
// b 3
// b 4
// macro
Q
Promise.resolve()
.then(a1 = () => console.log('a 1'))
попробывал не получилосьQ
ІМ
ІМ
В-
ІМ
В-
ІМ
ІМ
В-
ІМ
В-
В-
j
String.fromCodePoint(0x50, 0x4B, 0x05, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00)
Представление этого в блокноте невозможно по причине того что null символ (0x00) конвертируется в space (0x20). Да и в принципе с этим везде большие проблемы, нужен hex редактор.ІМ
В-
j
.then(function a1 () { console.log('a 1')})
Q
.then(function a1 () { console.log('a 1')})