var elem;
if (11 == 11 && 12 < 10) {
elem = 12;
} else {
elem = "undefined";
}
var scope = "global scope";
function checkscope() {
var scope = "local scope";
function func() {
return scope;
}
return func;
}
let arr = [1,2,3,4,5];
arr.slice(0,3);
let stringToNum = parseInt("123ab");