-
The js function uses var and let to declare that the former with the same variable name as the parameter is normal, and the latter reports an error.
once the default value of the parameter is set, the parameter forms a separate context when the function is declared to initialize. When initialization is complete, the scope disappears. This syntax behavior is not an extension of the function when th...
-
The incomprehension of the scope of python and js variables
I have just learned python and encountered some problems about the scope of variables, as follows:
the following is not very clear
var a = 3
const f = () => {
a += 4
console.log(a)
}
a() 7
f() 7
in js , you can not only access gl...
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b35f20-3439f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b35f20-3439f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?