摘要:
Recurisive DNS Resolver: This is the first stop in the DNS query process. When you type a URL into your browser, the request first goes to the recursi 阅读全文
摘要:
Command Line 1. Navigate to your home directory cd ~ 2. Make a directory call "temp" mkdir temp 3. Move into temp cd temp 4. List the idrectory conten 阅读全文
摘要:
DOM (Documnet Object Model) Tree: When a web page is loaded, the browser reads the HTML and builds the DOM tree. The DOM is a tree-like structure that 阅读全文
摘要:
normal script, without async defer: Script fetched and executed immediately, before browser continues parsing the page (It stops HTML parsing). If the 阅读全文
摘要:
button.addEventListener( 'click', (event) => { console.log('listener 1') queueMicrotask(() => { console.log('microtask') }) } ) button.addEventListene 阅读全文
摘要:
You can use getEventListeners(button)directly inside chrome devtool, but not inside application code. You can use monitorEvents(button, 'keydown'), no 阅读全文
摘要:
For example you have two containers running Container A: need to talk to Container B Container B, running a node application export port 1337 From con 阅读全文
摘要:
Three rules: There can only be one value owner There can be unlimited immutable borrows (reference) with no mutable references There can be only one m 阅读全文
摘要:
Difference between yieldand return returnset doneto true /** * Example 1 */ function* loggerator() { console.log("running"); yield "paused"; console.l 阅读全文
摘要:
On mobile device, when you open / close the keyboard, zoom in / out, it might affect the visual viewport view (the actual page content); to detect cha 阅读全文