摘要:
Node.js & npm package.json exports field All In One
npm
CJS vs ESM
webpack
阅读全文
摘要:
JavaScript Scope All In One
Global Scope / 全局作用域
Script Scope / 脚本作用域
Local Scope / 局部作用域 (函数作用域)
Block Scope / 块级作用域 ( { } 作用域)
Catch Block Scope / 捕获块级作用域 ( try...catch 作用域)
Closure Scope / 闭包作用域
Promise Scope ???
阅读全文