You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constmyFunc=(stuff)=>{someArray.push(stuff)}constotherFunc=(stuff)=>someArray.push(stuff)console.log(myFunc())// --> logs undefinedconsole.logo(otherFunc())// --> logs result of push which is new array lengthconstx=()=>{}// Does nothingconsty=()=>({})// returns an object
JavaScript是如何工作的:引擎,运行时和调用堆栈的概述!
The text was updated successfully, but these errors were encountered: