diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62aa22aba186563bcbf2c395.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62aa22aba186563bcbf2c395.md index 10e25a721d1..bac6c75c433 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62aa22aba186563bcbf2c395.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62aa22aba186563bcbf2c395.md @@ -7,7 +7,13 @@ dashedName: step-155 # --description-- -Remember that the increment operator `++` can be used to increase a variable's value by 1. There is also a decrement operator `--` that can be used to decrease a variable's value by 1. +Remember that the increment operator `++` can be used to increase a variable's value by `1`. There is also a decrement operator `--` that can be used to decrease a variable's value by `1`. For example : + +```js +let num = 10; +num--; +console.log(num); // Output: 9 +``` Decrement the value of `currentWeapon` in your `if` statement, after you update the text.