Hello World
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
Chrome console .. & debuging in chrome ..
console.log(...)
debugger
cmd, execution tracking …To enable ES5
'use script'
on top of script/fn-bodyclass
& module
async actions: init now but finish later (code below it won’t wait) ..
loadScript('xxx.js', (error, script) => { .. })
(“error-1st” cb style) ..: cb hell / pyramid of doom
Fn Call Scheduling: setTimeout/setInterval(..)
.. (enqueue in macrotask ..)
1 | let timerId = setTimeout/setInterval(fn, delay=0, ...args); // keep fn-ref in scheduler (not GC) |
this=window
..