js variable

js hides global variables.

function test(){

   var a=b=123;

}

In this way, a is a local variable, but b is a global variable, which is beyond your expectation.

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326724125&siteId=291194637