• Sign Up
    Time to claim your honor
  • Training
  • Practice
    Complete challenging Kata to earn honor and ranks. Re-train to hone technique
  • Freestyle Sparring
    Take turns remixing and refactoring others code through Kumite
  • Community
  • Leaderboards
    Achieve honor and move up the global leaderboards
  • Chat
    Join our Discord server and chat with your fellow code warriors
  • Discussions
    View our Github Discussions board to discuss general Codewars topics
  • About
  • Docs
    Learn about all of the different aspects of Codewars
  • Blog
    Read the latest news from Codewars and the community
  • Log In
  • Sign Up
joewhocodes Avatar
Name:Joe Ulyatt
Clan:100devs
Member Since:May 2022
Last Seen:Jul 2023
Profiles:
Following:31
Followers:31
Allies:31
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (45)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • RB38
    • commented on "Odd or Even?" javascript solution
    • 15 months ago

    When no value is passed to reduce(), like ([]), where the initial value is 0. The reduce returns it's initial value.

  • Custom User Avatar
    • joewhocodes
    • commented on "String ends with?" typescript solution
    • 2 years ago

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar
    • kelsonpw
    • commented on "Simple remove duplicates" javascript solution
    • 2 years ago

    this is just straight fire

  • Custom User Avatar
    • joewhocodes
    • commented on "Simple remove duplicates" javascript solution
    • 2 years ago

    Great idea!

  • Custom User Avatar
    • joewhocodes
    • commented on "Alphabetically ordered " javascript solution
    • 2 years ago

    Yeah you're totally right, it's very concise but not the most performant way. It could do with some kind of exit condition.

  • Custom User Avatar
    • ron2man
    • commented on "Alphabetically ordered " javascript solution
    • 2 years ago

    What if you got a very long string and it is not by the order in the second letter?
    You will sort it anyway. I think it is not the best way

  • Custom User Avatar
    • joewhocodes
    • commented on "Alphabetically ordered " javascript solution
    • 2 years ago

    Nice! If you used join('') you wouldn't need the replaceAll.

  • Custom User Avatar
    • joewhocodes
    • commented on "BASIC: Making Six Toast." javascript solution
    • 2 years ago

    Nice one!

  • Custom User Avatar
    • joewhocodes
    • commented on "If you can't sleep, just count sheep!!" javascript solution
    • 2 years ago

    Yes if you are going to use template literals, you need to use backticks!

  • Custom User Avatar
    • joewhocodes
    • commented on "What is between?" javascript solution
    • 2 years ago

    Nice one! Great alternative to For loop.

  • Custom User Avatar
    • joewhocodes
    • commented on "Return to Sanity" javascript solution
    • 2 years ago

    Thank you! I was wondering how to do this. Didn't know you had to wrap the object in brackets.

  • Custom User Avatar
    • joewhocodes
    • commented on "How Many Unique Consonants?" kata
    • 2 years ago

    It's because it's a test case that includes punctuation and spaces. Think this should be included in the description tbh.

  • Custom User Avatar
    • joewhocodes
    • commented on "Find the stray number" javascript solution
    • 2 years ago

    Nice, more performant than my answer.

  • Custom User Avatar
    • joewhocodes
    • commented on "Strict Mode" kata
    • 2 years ago

    Definitely learned something from this Kata, thanks!

  • Custom User Avatar
    • Flv
    • commented on "Unscrambled eggs" javascript solution
    • 3 years ago

    thank you.

  • Loading more items...
  • © 2025 Codewars
  • About
  • API
  • Blog
  • Privacy
  • Terms
  • Code of Conduct
  • Contact

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...