• 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
pearced Avatar
Name:Unknown
Clan:Unknown
Member Since:Jan 2015
Last Seen:Feb 2015
Profiles:
    Following:0
    Followers:0
    Allies:0
    View Profile Badges
    • Stats
    • Kata
    • Collections
    • Kumite
    • Social
    • Discourse
    • Conversations (4)
    • Replies
    • Authored
    • Needs Resolution
    • Custom User Avatar
      • SassyCrafter
      • commented on "Functional Addition" javascript solution
      • 10 years ago

      Hey, the return in the third line is unnecessary because when the code stumbles upon a return what is does is that it returns the value and then stops execution. Which in this case is the function expression. So the third line never actually gets run. it just returns the function expression and says 'alright my job here is done'. hope this was helpfull in some way :-).

    • Custom User Avatar
      • cbalci
      • commented on "Functional Addition" javascript solution
      • 10 years ago

      You don't need the 'return' in the third line ('return n+a;'), do you?

    • Custom User Avatar
      • pearced
      • commented on "99 bottles of beer" kata
      • 11 years ago

      I know its a year later but you are missing the s on your bottles

    • Custom User Avatar
      • pearced
      • commented on "Find Your Villain Name" kata
      • 11 years ago

      I tried that and it didn't work for me.

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

    Confirm

    • Cancel
    • Confirm

    Collect: undefined

    Loading collection data...