JS basic grammar --- programming ideas and objects

Programming ideas : put some life into the work experience program

  • Process-oriented: everything should be hands-on, everything's specific process needs to know, focusing on the process

  • Object-oriented: find the object according to the needs, all the things to do with the object, focusing on results

 

Object-oriented properties : encapsulation, inheritance, polymorphism (abstract)
  
  • js is not an object-oriented language, but can be simulated object-oriented thinking
  • js is an object-based language
 
 
 
 

Guess you like

Origin www.cnblogs.com/jane-panyiyun/p/11968953.html