They are used to handle asynchronous (single-threaded) execution. Callback (Old school) A Callback is a function … that gets injected
Continue readingAuthor: max-sperling
Script tag attributes (JS)
Sync (without keyword) If during HTML parsing a JS element is found, the parsing gets stopped until the script is
Continue readingAJAX (XHR vs. Fetch API)
AJAX – stands for “Asynchronous JavaScript and XML” – allows asynchronous communications with the server – is used to update
Continue readingSOP and CORS
Comparison (of SOP and CORS) SOP (Same-origin policy) CORS (Cross-origin resource sharing) What? A Security feature enforceable by the web
Continue readingWebRTC
1. Mesh /—> Peer_1 Peer_4
Continue readingvar vs. let vs. const (JS)
Overview Type Scope Reassignable Redeclarable var function yes yes let block yes no const block no no var let const
Continue readingMediaDevices (Audio example)
This example records from the selected audio input device (microphone) and plays to the selected audio output device (speaker). Be
Continue readingHTML5 video – Default vs. Custom player
The used custom player is Video.js, because it’s one of the most seen video player currently on the web. Showcase
Continue readingChromium vs. Chrome vs. CEF
Chromium is an open-source web browser by Google based on the engine Blink. There are multiple web browsers based on
Continue readingSingle vs. double quotes (C++ / PS)
C++ char c = ‘a’; // Character char* s = “abc\ndef”; // Null-terminated C-string PS > $a = 42 >
Continue reading