We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea66bdf commit bb9bb92Copy full SHA for bb9bb92
1 file changed
crates/jsshaker/src/nodes/expr/unary_expression.rs
@@ -59,7 +59,7 @@ impl<'a> Analyzer<'a> {
59
}
60
UnaryOperator::UnaryPlus => argument.coerce_number(self),
61
UnaryOperator::LogicalNot => {
62
- // let argument = argument.coerce_primitive(self);
+ let argument = argument.coerce_primitive(self);
63
self.factory.computed(
64
match argument.test_truthy() {
65
Some(value) => self.factory.boolean(!value),
0 commit comments