You're not declaring a function. These are valid syntax for creating a function:
function commonFunction () {
// do things
}
const commonFunction = () => {
// do things
}}
// immediately return true
const commonFunction = () => true
let commonFunction = () = {
// do things
}
// immediately return true
let commonFunction = () => true
This is not:
commonFunction: () => {
}
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…