Calling a function before declaration works with the standard function declaration
//calling the method prior to declaration...
greeter();
function greeter() {
console.log("Hi there!!!");
}
but it does not work for arrow function or function binding way. Why??
//calling the method prior to declaration...
greeter();
const greeter = () => {
console.log("Hi there!!!");
}