1 var a = {f:'11',b:[1,2,3,4]}; 2 with(a){ 3 eval("alert(b[3])")// alert(4) 4 } 转载于:https://www.cnblogs.com/xiaomang/p/3495067.html