• 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
devar Avatar
Name:Alexey
Clan:self
Member Since:Feb 2014
Last Seen:May 2021
Profiles:
Following:411
Followers:410
Allies:410
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (9)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • robkal
    • commented on "Memoized Fibonacci" kata
    • 5 years ago

    Yeah, you only ever need the last two cache entries.

  • Custom User Avatar
    • OverZealous
    • commented on "Objectify a URL Query String" kata
    • 11 years ago

    That only works if the order of the keys maintains constant. This is not only not guaranteed within JavaScript, but has already been proven to cause issues earlier.

    It might be a fluke that the solution you see passed when it was written. It's possible that an updated Node engine is more strict. I specifically expect an empty object with no keys if the input string is empty.

  • Custom User Avatar
    • devar
    • commented on "Objectify a URL Query String" kata
    • 11 years ago

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

  • Custom User Avatar
    • OverZealous
    • resolved an issue on "Objectify a URL Query String" kata
    • 11 years ago

    Your code fails when dealing with an empty query string. Please read the output when submitting the code.

    I don't know why it's failing on the example tests for me, but that used to work, and I haven't changed anything. I think it's a Codewars bug.

  • Custom User Avatar
    • devar
    • created an issue for "Objectify a URL Query String" kata
    • 11 years ago

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

  • Custom User Avatar
    • hbentlov
    • commented on "Advanced Events" javascript solution
    • 11 years ago

    Thanks. Changed it :)

  • Custom User Avatar
    • devar
    • commented on "Advanced Events" javascript solution
    • 11 years ago

    global subscribed ? :)

  • Custom User Avatar
    • devar
    • commented on "Advanced Events" kata
    • 11 years ago

    There is bug in tests, check my solution, if you create second Event object (e2=new Event;) it will get the same "private" data as first one. Btw is there any way to keep .prototype syntax and not get such behaviour ?

  • Custom User Avatar
    • devar
    • commented on "Memoized Fibonacci" kata
    • 11 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...