Hoisting

by rmadhuram

JavaScript

z++;
console.log("Value of z is " + z );

var z = 5;
console.log("Value of z is " + z);