Hoisting in JavaScript but for Functions!

Predict the output of this snippet.

test()

function test() {
 console.log("test")
}

output of the code: test

1 Like

output in console:test

1 Like