jsExample = {
var global_one = "a global scoped variable declared by var";
let global_two = "a global scoped variable declared by let";
const global_three = "a global scoped variable declared by const";
if (4 > 3) {
var block_one = "Block scoped variables created by var IS accessible outside the block"
let block_two = "Block scoped variables created by let is NOT accessible outside the block";
const block_three = "Block scoped variables created by const is NOT accessible outside the block";
}
function temperature(month) {
var normal_temp = 50;
let error = 10;
const constant = 0.5;
return normal_temp + error + constant + month
}
return global_one
}