Js reference problem

encountered a problem in the development process, which is a little strange why output [] instead of"

Mar.11,2021

your an is a variable declared in the scope of the function

const aa = (a)=>{ //a=a a
a=''//a
}
Menu