It performs bigint decrement if the operand becomes a bigint First, the operand is incremented or decremented, and then expression evaluates to the value of the operand. Otherwise, it performs number decrement.
Korian - YouTube
They are one of the most frequently used operators in programming for looping, array traversal, pointer arithmetic, and many more.
If it is placed after the operand, it returns the value before the decrement
If it is placed before the operand, it returns the value after the decrement. The prefix increment/decrement operators are very straightforward