Skip to content

Increment decrement default

Increment decrement will invert the sign of the increment or decrement.

Mutation table

Original Mutated
++ --
-- ++

Examples

for i := 0; i < 10; i++ {
  // Do something
}
for i := 0; i < 10; i-- {
  // Do something
}