you are viewing a single comment's thread
view the rest of the comments
[–] 7 points 11 months ago

In most languages I've seen - is both a unary negation operator and a subtraction operator depending on context. So it would negate an integer literal or a variable in this context.

  • source
  • parent