There’s no
window, document, sessionStorage, indexedDB or alert/prompt, even though
TypeScript’s DOM types declare them. onmessage and postMessage only exist inside a
Worker. using works; DisposableStack doesn’t exist.What’s there
Timers,
console and the game events are on Globals, storage on
localStorage.
Differences
crypto.subtle
Other algorithms (Ed25519, X25519, SHA-3, …) reject with
NotSupportedError.