JavaScript:

  • ES5/ES6

  • Data Type

(1) undefined, null, NaN, [], ''

(2) Array is a special object

(3) Function is variable

(4) Some high order function: map/reduce/filter/forEach/every/...

(3) JSON (JavaScript Object)

  • Variable scope
  • Closure (Function Scope)
  • Prototype
  • ES6

Reference:

Node.js

Event Driven

Non-Blocking IO/Model

JavaScript/V8

Modules(NPM)

Cluster


introduce the basic knowledge of JavaScript and Node.js

Goals:

(1)Understand the basic grammar of JavaScript.

(2)Understand the basic knowledge of Node.js

(3)Understand the basic folder structure of Node.js

(4)Understand the basic knowledge of npm.

(5)Understand where to find the JavaScript/Node.js API docs.

Practice:

TBD: Thinking about a simple problem, you need to write it via JavaScript and make it successfully run within Node.js.

In this practice, you need to save you dependency in package.json and understand how to install 3rd library using npm.

results matching ""

    No results matching ""