• 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
Fosna Avatar
Name:Vedran Marsic
Clan:Carpe Diem
Skills:js, c#
Member Since:Feb 2014
Last Seen:Nov 2022
Profiles:
Following:22
Followers:26
Allies:22
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations
  • Replies (10)
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • farhanaditya
    • commented on "Grasshopper - Debug" javascript solution
    • 4 years ago

    The task is to debug, not to refractor

  • Custom User Avatar
    • MyDuty
    • commented on "Get a Bouncer for Your Club" javascript solution
    • 10 years ago

    I know that it is "static" properties, but i tried other variants and failed =)

  • Custom User Avatar
    • Insti
    • commented on "Get a Bouncer for Your Club" kata
    • 10 years ago

    In test: "when a name with white space around it from guest list is presented, entrance should be allowed"
    Tests should not throw errors:

    TypeError: Cannot read property 'name' of undefined at Test.it at partyCandidates.name at Test.describe

  • Custom User Avatar
    • Insti
    • commented on "Get a Bouncer for Your Club" kata
    • 10 years ago

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

  • Custom User Avatar
    • Insti
    • commented on "Get a Bouncer for Your Club" kata
    • 10 years ago

    Also, Try starting with some simpler tests.
    Lists of 1 person to allow/deny for all the possible reasons before moving on to groups.

  • Custom User Avatar
    • Insti
    • commented on "Get a Bouncer for Your Club" kata
    • 10 years ago

    Having the firsts tests give you useful feedback about what the kata is suposed to return would be helpful.

    Currently when running the tests from the setup:

    TypeError: Cannot read property 'length' of undefined at Test.it at partyCandidates.name at Test.describe

  • Custom User Avatar
    • DivyanshBatham
    • commented on "Debug Basic Calculator" javascript solution
    • 10 years ago

    Yup I also think so, others just framed a completely new solution.

    P.S. - Mine was also close enough; I guess?

  • Custom User Avatar
    • acraileanu
    • commented on "Grasshopper - Debug" javascript solution
    • 10 years ago

    Here's an interesting read:
    http://programmers.stackexchange.com/questions/278652/how-much-should-i-be-using-let-vs-const-in-es6

  • Custom User Avatar
    • eBilk
    • commented on "Grasshopper - Debug" javascript solution
    • 10 years ago

    You are right, that would be much better.

  • Custom User Avatar
    • acraileanu
    • commented on "Grasshopper - Debug" javascript solution
    • 10 years ago

    Guess it depends if you want to just to do bug fixing or refactoring as well. But I agree it may be a bit extreme :)

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...