Haskell 与副作用斗争过程中的一个方式就是使用类型。它将所有的副作用都推进类型系统。
上一篇

Promise 是 JS 对象,用于表示一个异步操作的最终完成 (或失败), 及其结果值
new Promise((resolutionFunc, rejectionFunc): void =>{ asynchronous
2021-05-23
下一篇

https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScopehttps://developer.mozilla.org/en-US/docs/Web/A
2021-05-12