Skip to content

Commit fa1f7d2

Browse files
EzequielCasteMaksumi Murakami
andauthored
Update 1-js/02-first-steps/08-operators/1-increment-order/solution.md
Co-authored-by: Maksumi Murakami <maksumimurakami@gmail.com>
1 parent 4104623 commit fa1f7d2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • 1-js/02-first-steps/08-operators/1-increment-order

1-js/02-first-steps/08-operators/1-increment-order/solution.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ La respuesta es:
99
```js run no-beautify
1010
let a = 1, b = 1;
1111

12-
alert( ++a ); // 2, como prefijo devuelve el valor nuevo
12+
alert( ++a ); // 2, la forma de prefijo devuelve el nuevo valor
1313
alert( b++ ); // 1, como sufijo devuelve el antiguo valor
1414

1515
alert( a ); // 2, incrementado una vez

0 commit comments

Comments
 (0)