Н
Size: a a a
Н
YS
KD
А
YS
YS
YS
А
updated(): const script = document.createElement('script')
script.setAttribute('type', 'text/javascript')
script.innerHTML = 'window.location.reload(true)'
const meta = document.createElement('meta')
meta.setAttribute('http-equiv', 'refresh')
meta.setAttribute('content', '0;')
const noscript = document.createElement('noscript')
noscript.appendChild(meta)
const body = document.getElementsByTagName('body')[0]
body.appendChild(script)
body.appendChild(noscript)
pwa config: workboxOptions: {
skipWaiting: true
}LN
let promise = new Promise (myFunction);
function myFunction (resolve,reject) {
//async code
}UT
let promise = new Promise (myFunction);
function myFunction (resolve,reject) {
//async code
}LN
👑R
N
ND

K

D
ND
K✓

K✓
СС