There’s a misconception most people have about hoisting in JavaScript, but I'm about to clear the myth. Hoisting allows you to use variables and functions before they are declared and most people think that hoisting only works with variables declared...