字符串减0 可以强制实现 类型的转换 等价于使用 Number()转换
当输入“123.1abc” - 0时候会返回 NaN
var a ="123.1";
var z = a - 0;console.log(typeof(z));
console.log((z));
var z1 = Number(a);
console.log(typeof(z1));
console.log((z1));
var z2 = parseInt(a);
console.log(typeof(z2));
console.log((z2));