2
I was writing my js, when I came across the following mistake:
Uncaught TypeError: xyz is not a function
Released from the code (illustrated simply):
(function () {
function abc() {
var xyz = xyz();
}
function xyz() {
console.log(123);
}
abc();
})();
As you can see, the function is present right away, because then that way I get this error?