weilluo.github.io - GUIDE

Description: 1. 全局,function 内 function 内变量使用 var,重名时,局部变量的优先级更高 1var a1 = 1; 2(function() { 3 a1 = 2; 4 console.log(a1); // 2 5})(); 6console.log(a1); // 2 7 8var …

Example domain paragraphs

2018-09-19 3:08 pm | Comments

function 内变量使用 var,重名时,局部变量的优先级更高

I think many guys are using express as they backend service framework, there is a most important thing Test . We should write test for the apis that usually contains a lot of business logics.