Commit Graph

17 Commits

Author SHA1 Message Date
MaoShizhong c5d806b88c Replace regex test with String.prototype.repeat test
Easier for learners to understand test and does not require extra explanation of regex
2025-02-04 03:51:30 +00:00
MaoShizhong 15d4dd07e7 Tidy up comment style 2025-02-04 03:48:41 +00:00
Josh Smith fd555e354c Merge pull request #521 from bhagyeshsp/patch-3
02_repeatString/solution - Line-32, replace "odin" with "hey"
2025-02-03 15:35:26 -07:00
Bhagyesh Pathak 598ab5c937 02_repeatString/solution - Line-32, replace "odin" with "hey"
As asked by @JoshDevHub in a discussion of a related PR, I made a similar change to this solution. In the earlier code, the comment description mentioned "hey" as a sample string but the code had "odin" string. This update addresses that tiny gap between sample comments and related code.

More on: https://github.com/TheOdinProject/javascript-exercises/pull/505#pullrequestreview-2588692590
2025-02-03 09:58:47 +05:30
Bhagyesh Pathak 2861e62954 Javascript-exercises: 02_repeatString - Fix code on line 32
The original code had "hey" as the seed string value and hence the comment on line-29 mentions "hey". But the last commit on the code changed "hey" to "odin".

We can either change instances of comment or the code. I propose changing the code instance from "odin" to "hey" for consistency.
2024-11-13 19:37:26 +05:30
Nikita Revenco 29dd5a4a2e feat(repeatString): enforce manual implementation via loops (#460)
Intent is to practise using loops rather than wrap the built-in `repeat` String method.
2024-08-10 18:00:39 +01:00
Kumang Subba 9a5cdecf5b Update 02_repeatString/solution/repeatString-solution.spec.js
Co-authored-by: Nikita Revenco <154856872+nikitarevenco@users.noreply.github.com>
2024-03-24 07:09:52 +02:00
kumang 265c40fbef added alternate repeatString test strings 2024-01-07 23:31:14 +02:00
thatblindgeye e416717ba9 Remove test skips for solutions 2023-02-01 18:58:58 -05:00
thatblindgeye 2ec0f4344d Updated file paths 2023-02-01 18:53:54 -05:00
thatblindgeye 4a112362c8 Update files 2023-01-21 12:53:41 -05:00
thatblindgeye fb1a2db8d7 Add solution directories for exercises 2022-02-20 14:07:44 -05:00
gerijeb 09806f109a Fix typo 2022-01-01 21:50:35 -03:00
Briggs Elsperger 74ab0b7cc6 add clarifiying comment about not removing code 2021-09-11 16:18:55 -06:00
Mike Esposito 6274682cb5 Merge two bullet points in repeatString 2021-08-13 08:51:38 -07:00
Mike Esposito f0456531e4 Add paragraph to repeatString describing arguments 2021-08-13 08:46:05 -07:00
Benjo Kho 61f38bf60c Rename folders with numbers and underscores 2021-08-07 14:52:11 +08:00