让数字的字面值看起来像对象

xiaoxiao2021-02-28  22

2.toString(); // Uncaught SyntaxError: Invalid or unexpected token 2..toString(); // 第二个点号可以正常解析 2 .toString(); // 注意点号前面的空格 (2).toString(); // 2先被计算
转载请注明原文地址: https://www.6miu.com/read-2631959.html

最新回复(0)