摘要: var x = { value: 0, toString () { this.value++; return this.value }, valueOf () { this.value++; return this.value } } 知识点解析: 一:== 与 的区别 == 允许在相等比较中进行强 阅读全文