• 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
prksingh Avatar
Name:Prashant Singh
Clan:Adobe
Skills:javascript
Member Since:Oct 2013
Last Seen:Feb 2020
Profiles:
Following:43
Followers:48
Allies:43
View Profile Badges
Ad
Educator, struggling to assess your students?
Assess your classroom or bootcamp with the world leading assessment platform, Qualified.Request your demo today!
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations
  • Replies (2)
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • nivoliev
    • commented on "Pete, the baker (part 2)" kata
    • 11 years ago

    maybe your function returns undefined since you forgot the return statement ?

  • Custom User Avatar
    • jamiecollinson
    • commented on "Pete, the baker (part 2)" kata
    • 11 years ago

    Glad someone else is getting this too! I get the same, whether looping over the added object using Object.keys, or using a for loop.

    Am I missing something obvious?

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...