diff --git a/crates/oxc_minifier/src/ast_passes/peephole_fold_constants.rs b/crates/oxc_minifier/src/ast_passes/peephole_fold_constants.rs index 7b84bcb1f730c5..a2e5192e4c41ad 100644 --- a/crates/oxc_minifier/src/ast_passes/peephole_fold_constants.rs +++ b/crates/oxc_minifier/src/ast_passes/peephole_fold_constants.rs @@ -232,7 +232,6 @@ impl<'a> PeepholeFoldConstants { // `-~1` -> `2` if let Expression::NumericLiteral(n) = &mut un.argument { is_valid(n.value).then(|| { - // Here, we need to handle the exceeded scenarios with C. let value = !n.value.to_js_int_32().wrapping_neg(); ctx.ast.expression_numeric_literal( SPAN,