eval("3+2")//5

eval();全局eval();严格eval()

函数和可执行的对象(callable object)

delete一元操作符,善处对象属性或者数组元素,用来做删除操作,不是用来返回一个值得;内置核心和客户端属性是不能删除的,用户通过var语句声明的变量不能删除,通过function语句定义的函数和函数参数也不能删除。

SyntaxError语法错误当delete的操作数是一个属性访问表达式时才正常工作。

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAVsAAAFLCAIAAAD3e7ghAAAgAElEQVR4nO3de1BUZ543cErL0pqqSSpJ1WR2JpdKdicxF2tmNsmqL4kzay66yRjcjA5uMjVxNxs18X2jMSZknImhcRAcomga0Sh4wUtHIAreiDheohhaSGsAxeaiCDYNQt+goaEvnO/7xzn2abpPd6MeJej3U/4hh+dcupvz7ed5zun+xYCI6IqYwT4AIvoBYSIQkYyJQEQyJgIRyW6FRNhxBvcsQ2w2OnqvYq32biR9g3vTEJ+nwjH4BHz2Le5IwcgleP9ruH0AkF+N4RpMy4W9R4VdEN0EkRLB4XCUlpbetEO5Nh29eDEHX9df9Yqao/jzP/D+1+okQqMDs/bA4sK5djyixf46abnFhfFZKDCqsAuimyBSIhgMBq1We+DAgb6+vshb2fQ94nTw9AFArRVPr0OdFXoT7kxBTCJGLkHiUem3mqP40y6Mz8IwDZ7fHPbN096DabkYrsGPkrH4iPSWq6ijF/F5MHXKK/5mI1bqAeD7VjyxGt+3Sr+auw+TtqDb0291zdFIiWDvwXMbcLhB+nHWHnz2rfT/M214MB37aoNXEYBpucivlpfE5/X7keiHLMqoQQyF3bt3e73eCM3qrBi7HnVWAMg+hf/dDSHgty1O/PsmVF4GAM1RPKJFeTO6PHh5m/KbpwDM2Ys5e9HtQb0N//oFdtfI+SL+848RLtjxYg7MTnn1ehtis1F5GX/Iw/Yqefk1JAKAhINYcAAALnfh+c3SY0T4RKi34el1ON0iL1lwAH85BJ8Q3JLoByj6PEJVVZVWq83Pz3e73eHaCMDbu7Hpe3j6EJ8n9ZkbHXh2A4ZrEJOIO1OgNwGA5ig0R6Ps0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8rrHjyMuDjYbjEZMnCitkpODxER4vcjKwj//M6qrUV2Nt96C3d5vv+ESITkZ6emI+Fnvq5hZBFBaiqeewoULaG7GpEk4dix440F/Il4vFixAenq/t7jQv8uozfx/LidO4KWX0NBwFeuGPgq/0EQQt7ZqFXp70dSEyZNRXq68rmggo4bNm7FkCZqbER+PM2citUSYEPd6MX9+2HAPfaLCPQq7Hf/5nyiLOFnW3Y2ZM/H11+jqwsKF0ozAAF/u0OOBUiIovmTV1ZgyBc3NqK1FbOxNTYSus+eaJ0wKnVlsnjCp62yYGL4iytVH/8WYESPkrpfi6epyISUFd90l98GcTsyahREjMHEi5s6VVjGb8dJLGDUKH3+MN95AdTVsNkyeLHW3Ro3CRx+huztsIojhEnFeaqBXH8Xte72YNw86HQAcP46nnuo3xoHSn8jly3jjDYwaJT9SxdM1cjN/IgTOyPoflOK6ivMIURMhcGv3348dO6R+7DUnwpkzmDxZ6vrt3YvXX5dnJYMEzvyJHenqajz4IGJicNdd+PDDsCsqPlGKj2KA14aPH8e//Avuvx9ZWVIfAQN7uYOedvG1CE0EKL1kXi9WrMCoUZg0CevX3+yrj62bd5h/+3Lg1Ufzb19u3bzjBh2EmoqK8Mc/oqsLAKqr8fzz0WeeiOiKsHcoddecNyVomqbNbJo205Sg6a45fzMP69qJ0xNiuD71lHzlhogGgHcxE5GMiUBEMnUSwUFEt4T/D1H0Ltt6mhIJAAAAAElFTkSuQmCC" alt="" />

语句

表达式语句(函数调用是表达式语句的另一大类),声明语句,控制结构

复合语句compound statement

function convert(x){
alert(0);
switch(typeof x){ case 'number':alert(1);
alert(2);
return x.toString(16);
alert(3);
case 'string':
alert(4);
return '"'+x+'"';
alert(5);
default:
alert(6);
return String(x);
alert(7);
}
}
console.log(convert('6'))

异常,捕获异常

outerloop:

        for(i=0;i<10;i++){
alert(1);
innerloop:
// alert(2);
for(j=0;j<10;j++){
alert(3);
if(j>3){break;}
alert(4);
if(i==2){break innerloop;}
alert(5);
if(i==4){break outerloop;}
alert(6);
document.write("i="+i+",j="+j+"<br/>");
alert(7);
}
alert(8);
}
alert(9);
document.write("final"+"i="+i+",j="+j);
alert(10);

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHUAAAD4CAIAAABdSD7tAAAF3ElEQVR4nO2b0ZbjIAxD8/8/nXnp6cmkgdgGxRbRfWpTEEZDUop2t10g2bILWBz5i0X+YpG/WOQvFvmLRf5i6fm7bdu2+f4A6C4B/Vxm+vtt7O1lbB/Tz2Vaoac5T7cArQ8ici+f+H50ahmpBqz/PM0qT9O7FwrN3z7Kav5+Pgb7a28sf+XvBT5/Qc/Ho8hbnr+fj7V+x5jm7/5/GR4v3orYvwwDVeVyv3/w7iIuHym3vcL6xXmi1ktHTmv8gTJSwE6ss9wCNwcjK8+tAvIXi/zFIn+xyF8sfPmFSzwdmvyCdDNHk19AZXHQ5BcjsonQ5Bcu2TrQnE8GZCsgf7HQ5BcB2Qpo/WJhyi+89VSAJr+I1ZOO8gssyi+wrDy3CshfLPIXi/zFIn+xMOUXjFsOpvyi87YsNPnFK/ztnG9NmT9a/3nI8guXeAXIzidj7RPh85fI3F35BRqm9Utn7k6UX5AuZNb8gt7fmWMov0Cptxca3UqMsfLcKiB/schfLPIXi/zFovwCi/ILLMovsNDkF+PiKZDlF1wP353rfDLcPhFKf2NdUiDLL2L6idCs3zX3D+FleLx4K+L1l8XcnSi/OJZkLKYCyi+wKL/AsvLcKiB/schfLPIXi/zFMj+/cFfw2vOzwMyh/rbOOiqDTRlwyiwWT8svvg2Gqmnrr+Zv7H4PtDeOspq/n48fSRbkr1lO/v5nWn5x2d5ahCG/eIW/93Jav/+B+2v5+nrj/rfzEHC1n+ivUa0Uyi+wKL/AsvLcKiB/schfLPIXi/zFwpdfePVzockvSDdzNPnFM/rTockvpug/D01+EdNPh+Z8ckQ/EfmLhSa/GNFPROsXC1N+EagnHZr8wltPEZRfYFF+gWXluVVA/mKRv1jkLxb5i4Upv2DccjDlF523ZaHJL17h78/Z1nnpDU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