Basic JS¶ status !== '' !!status ||= 0 所有false值 ?? 0 null, undefined(not include 0) .filter(Boolean) Math.ceil Math.floor Math.round (number) => +number 隐式转换 Number(null) = 0 toFixed(2)