JavaScript Design pattern — 4

A personal note from JavaScript Design Pattern(by Stoyan Stefanov).

Public static member

Private static member

  • Shared member among all instances from the same constructor.
  • It’s not accessible from outside.