标题 标签 not(逻辑非) math,logic(数学,逻辑) 返回给定值的逻辑非。 使用逻辑非 (!) 运算符返回给定值的倒数。 const not = a => !a; 调用方式: not(true); // false not(false); // true 应用场景