var while can be called multiple times, let acts like variable from java, can be called only once if it is declared globally.

 

var acts as global variable all the time while let functions only in the declared block.

 

const is final from java. 

 

arrow syntax function is lamba from java.

 

javascript allows for default value

 

 

'ETC' 카테고리의 다른 글

FCM notification send  (0) 2020.02.11
Regular Expressions  (0) 2020.02.10
JSON APIs and Ajax  (0) 2020.02.10
Basic Javascript  (0) 2020.02.08
jsp에서 컨트롤러갈때 한글 깨짐현상(02/07/20 cudo notes 5)  (0) 2020.02.07

+ Recent posts