let a = 'Fred Flinstone'; // This is a global variable
function alpha() {
alert(a);
}
alert(alpha());
why the following code displaying undefined after displaying fred flinston? and what properties does "const" in ES6 have and what is meant by " referencing to memory " in const? Thanks