scope

by Paco86

JavaScript

console.log(typeof func);

var func = 3;

console.log(typeof func);

function func(){};

console.log(typeof func);