• 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
Shellby Avatar
Name:Alexander
Clan:Unknown
Member Since:Feb 2017
Last Seen:Nov 2022
Profiles:
Following:5
Followers:4
Allies:2
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations
  • Replies (9)
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • rowcased
    • commented on "Find the unique number" javascript solution
    • 6 years ago

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

  • Custom User Avatar
    • Chrono79
    • commented on "Find the unique number" javascript solution
    • 6 years ago

    All numbers are equal except for one.

  • Custom User Avatar
    • Chrono79
    • resolved an issue on "Santa's Naughty List" kata
    • 6 years ago

    Fixed.

  • Custom User Avatar
    • hyperor
    • commented on "Remove First and Last Character Part Two" kata
    • 7 years ago

    h

  • Custom User Avatar
    • dchamud
    • commented on "Santa's Naughty List" kata
    • 8 years ago

    I don't know what happened to the mentioned pr but tests are still broken. It thinks I've output something different that what I actually did. It insists that I duplicated some keys in the output but logging my return value shows that there was no duplicate values in my array...

  • Custom User Avatar
    • Souzooka
    • commented on "Santa's Naughty List" kata
    • 8 years ago

    Yeah, that's an even more performant solution, as you don't have to spread out the final result or both arrays, just c.

    Though to be fair in my fork I just used lodash ;)

  • Custom User Avatar
    • Heated
    • commented on "Santa's Naughty List" kata
    • 8 years ago

    I would help you, but my javascript is not that good. In fact, somebody else made the javascript version of this. However, I will see what I can do.

  • Custom User Avatar
    • Souzooka
    • commented on "Santa's Naughty List" kata
    • 8 years ago

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

  • Custom User Avatar
    • Souzooka
    • commented on "Santa's Naughty List" kata
    • 8 years ago

    The JavaScript tests are pretty broken, I've made a fork that has a reference solution that actually follows the specifications.

    BTW, using includes iterates an entire array, you'd do much better keeping it as a Set and using has.

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...