javascript syntactic sugar

  • Syntactic sugar (Syntactic sugar), also translated as icing grammar
  • Refers to some kind of computer language syntax added, this syntax of the language does not affect the function, but more programmers to use.
  • In general, the use of syntactic sugar can increase the readability of the program, the program code to reduce the chance of error.
  • Syntactic sugar "is the word definitely not a derogatory term, it can be easy to bring to us, is a convenient wording, the compiler will help us to do the conversion; but also improve the efficiency of the development of coding, the performance will not result in losses .

Guess you like

Origin www.cnblogs.com/guangzan/p/11270636.html