学习node.js的好书 下面是目录: Preface 1 Chapter 1: Understanding the Node Environment 7 Extending Javascr ipt 9 Events 10 Modularity 12 The Network 13 V8 15 Memory and other limits 16 Harmony 18 The process object 19 The Read-Eval-Print Loop and executing a N
英文原版,数字版,有目录。 Express in Action: Writing, building, and testing Node.js applications 1st Edition Summary Express in Action is a carefully designed tutorial that teaches you how to build web applications using Node and Express. Purchase of the print
Node.js By Example 英文pdf + 源码 What You Will Learn Get to know the fundamentals of Node.js Understand why architecting is important and what the planning of a typical Node.js application looks like Successfully manage every web application asset such
提到new,肯定会和类和实例联系起来,如:
function Func() {
let x = 100;
this.num = x +
}
let f = new Func();
上面的代码,我们首先创建了一个函数,如果是用面向对象的说法就是创建了一个Function类的实例,如果直接执行这个函数,那它就是一个普通的函数,如果用new执行,则这个函数被称为一个自定义的类。
如果是一个普通函数执行,他会如下做几件事:
·形成一个全新的执行上下文EC(Execution Context 执