Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | JS: Triangle: Add solution | Andinus | 2021-09-06 | 9 | -0/+351 |
| | |||||
* | JS: Luhn: Add solution | Andinus | 2021-09-05 | 9 | -0/+354 |
| | |||||
* | JS: Raindrops: Switch to using a map | Andinus | 2021-09-05 | 1 | -9/+9 |
| | | | | | | | | | | | | | | | | I switched to single object literals initially: const factorToSound = { 3: "Pling", 5: "Plang", 7: "Plong" }; and used `for .. if` to iterate over them, that may cause some issues: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for...of#difference_between_for...of_and_for...in I decided to switch to using Maps and iterate over them with `for .. of` instead. | ||||
* | JS: Raindrops: Move rules to a const | Andinus | 2021-09-05 | 1 | -8/+10 |
| | |||||
* | JS: Hamming: Add solution | Andinus | 2021-09-04 | 9 | -0/+274 |
| | |||||
* | JS: Raindrops: Remove repeated math logic | Andinus | 2021-09-04 | 1 | -5/+11 |
| | | | | | | - Removes repeated math logic. - Compares against "" instead of using .length. - Uses "number" instead of "num". | ||||
* | JS: Raindrops: Add solution | Andinus | 2021-09-03 | 9 | -0/+259 |
| | |||||
* | JS: Solve resistor-color exercise | Andinus | 2021-08-27 | 7 | -0/+207 |
| | |||||
* | JS: Use template literals in two-fer | Andinus | 2021-08-25 | 2 | -3/+3 |
| | |||||
* | JS: Remove Solution for square-root | Andinus | 2021-08-25 | 1 | -1/+4 |
| | | | | Cannot use built-in function. | ||||
* | JS: Solve hello-world, two-fer, square-root | Andinus | 2021-08-25 | 21 | -0/+498 |