A simple example for javascript object-oriented programming.
Include:
- public / private variables or functions
- static variables or functions
- inheritance (not multiple, no interface)
Run:
node app.js
Inheritance:
- people
- developer
- frontend
- developer
ref: