• 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
  • Replies (6)
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • RB38
    • commented on "Odd or Even?" javascript solution
    • 17 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
    • Flv
    • commented on "Unscrambled eggs" javascript solution
    • 3 years ago

    thank you.

  • Custom User Avatar
    • moutonj
    • commented on "shorter concat [reverse longer]" javascript solution
    • 3 years ago

    if a is longer than b,
    b is a, a is b

  • Custom User Avatar
    • Aladdin4u
    • commented on "Lost number in number sequence" javascript solution
    • 3 years ago

    it means if no lost number return 0

  • Custom User Avatar
    • Gawsoo
    • commented on "Odd or Even?" javascript solution
    • 3 years ago

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

  • Custom User Avatar
    • Brian.
    • commented on "Odd or Even?" javascript solution
    • 3 years ago

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

  • © 2025 Codewars
  • About
  • API
  • Blog
  • Privacy
  • Terms
  • Code of Conduct
  • Contact

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...