// block scoped variables
n = [1, 2, 3, 4, 5]
for (let i = 0; i < n.length; i++) {
console.log(n[i])
}
try {
console.log('last position is: ' + i)
} catch(e) {
console.log(e)
}
//const variable can not be changed
const ORG_NAME = 'YUTONG'
console.log(ORG_NAME)
try {
ORG_NAME = 'YUTONG COOPERATE'
} catch(e) {
console.log(e)
}