Skip to content

Commit

Permalink
Change readme main
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsi15 committed Dec 14, 2024
1 parent b350292 commit be20226
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ npm run test
| 7 | [El ataque del Grinch](https://adventjs.dev/es/challenges/2024/7) | 🟠 | [solución](/challenges-2024/challenge-07) |
| 8 | [La carrera de renos](https://adventjs.dev/es/challenges/2024/8) | 🟢 | [solución](/challenges-2024/challenge-08) |
| 9 | [El ataque del Grinch](https://adventjs.dev/es/challenges/2024/9) | 🟠 | [solución](/challenges-2024/challenge-09) |
| 10 | [El ensamblador élfico](https://adventjs.dev/es/challenges/2024/10) | 🟠 | [solución](/challenges-2024/challenge-10) |


## 🎯 Retos 2023
Expand Down
2 changes: 1 addition & 1 deletion challenges-2024/challenge-10/compile.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export function compile(instructions) {
if (!register_count.has(register)) {
if (/^[A-Za-z]$/.test(register)) {
register_count.set(register, 0)
} else if (!isNaN(register)) {
} else {
register_count.set(value, Number(register))
}
}
Expand Down

0 comments on commit be20226

Please sign in to comment.