Hoisting Q1
Last updated
a();
function a(){
console.log('hi');
}
function a(){
console.log('bye');
}a() // first function
a() // second function
function a(){}
function a(){}
///
// This means that the second declaration of the func
// would overwrite the first.
a() // bye