Node.js Guideline

Reading time ~1 minute

Notes for learning Node.js

 



Node.js philosophy

  • Small core
  • Small modules
  • Small surface area
  • Simplicity and pragmatism

Key features (Basic and important to know)

  • Let & Const keywords
  • Arrow function
    • Benifit of using this keyword
  • Class syntax

Destructuring

{ a, b } = someObject; // SyntaxError
({ a, b } = someObject); // OK
({ a, b }) = someObject; // SyntaxError
const { a, b } = someObject; // OK

Value below was evaluated just now

Examining objects via console.log happens in an asynchronous manner. The console receives a reference to the object synchronously, but does not display the properties of the object until it is expanded.

See more details

竟然无法拒绝你的打赏

微信支付

TypeScript Notes

This note is about the JavaScript. Continue reading

Deep Learning

Published on October 01, 2019

React Native

Published on April 01, 2019