We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
node
libuv
多线程的优点:可以做压缩合并等大量计算相关的(cpu 密集型);node 适合 I/O 密集型(web 应用的常见)
global
module.exports
{}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
node 是什么?能做什么?
node
中只包含 ECMAScript + 模块非阻塞异步 I/O 特性
libuv
(多线程来实现的),核心是异步阻塞非阻塞、同步异步
node 的多版本管理
默认 node 中的 this 是谁?
global
module.exports
,默认是{}
,原因是 CommonJS 规范所有的代码写到文件中,文件内部会自带一个函数,这个函数执行的时候改变了 thisThe text was updated successfully, but these errors were encountered: