Code:
myFun()
var myFun= function (){
console.log("1")
}
myFun()
function myFun(){
console.log("2")
}
myFun()
Output:
2
1
1
Sage
Your BloggerSpace assistant
Hi! I'm Sage, your BloggerSpace assistant. Ask me to find blogs, recommend topics, or explain how the platform works — I'll pull live data and share clickable links.
Powered by Gemini · may occasionally be wrong
Code:
myFun()
var myFun= function (){
console.log("1")
}
myFun()
function myFun(){
console.log("2")
}
myFun()
Output:
2
1
1
BloggerSpace author · 1 follower