let myvariable = 5;
function myfunction(){
  let myvariable = "This is a local variable";
  alert(myvariable);
}
myfunction();
alert(myvariable);