当强制转换为布尔型时(使用 if , && , || ,或 Boolean(int)``),BigInt 按照和 Number 相同的逻辑。 if (0n) { console.log ...
確定! 回上一頁