判断复合(存储在堆中)
var a = {name:'op',age:16}; var b= {name:'op',age:16}; alert(a==b);//输入结果为false;
判断基本(存储在栈中)
var a =10;var b= 10;alert(a==b);//输入结果为true;