• 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
cguttweb Avatar
Name:Chloe
Clan:Unknown
Member Since:Oct 2019
Last Seen:Oct 2024
Profiles:
Following:0
Followers:0
Allies:0
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (10)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • cguttweb
    • commented on "Calculating Batting Average" kata
    • 9 months ago

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

  • Custom User Avatar
    • kue_pancake
    • commented on "Build Tower" kata
    • 4 years ago

    i sugest you should be patient and do 8 or 7 kyu kata, no need to rush bro

  • Custom User Avatar
    • Chrono79
    • commented on "Build Tower" kata
    • 4 years ago

    And then you keep reading the description and see the examples about how to build the tower. In javascript it's an array of strings.

  • Custom User Avatar
    • cguttweb
    • commented on "Build Tower" kata
    • 4 years ago

    I don't understand the challenge... you pass a number representing floors and ?

  • Custom User Avatar
    • Chrono79
    • commented on "Friend or Foe?" kata
    • 5 years ago

    Where is the return keyword there? Try adding return result;

  • Custom User Avatar
    • cguttweb
    • commented on "Friend or Foe?" kata
    • 5 years ago

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

  • Custom User Avatar
    • Chrono79
    • commented on "Friend or Foe?" kata
    • 5 years ago

    Without seeing your code, me neither. In the link it is explained how to post your code here, give it a try and make sure you mark your post as having spoiler content.

  • Custom User Avatar
    • cguttweb
    • commented on "Friend or Foe?" kata
    • 5 years ago

    Thanks for the reply I did find that yesterday and had a read, but I'm struggling to understand what it is I'm doing wrong. I am attempting to return it yet all I get is undefined so I'm none the wiser.

  • Custom User Avatar
    • Chrono79
    • commented on "Friend or Foe?" kata
    • 5 years ago

    Your function should return the result instead of printing it to the console. Please read this: https://github.com/codewars/codewars.com/wiki/Troubleshooting-your-solution

  • Custom User Avatar
    • cguttweb
    • commented on "Friend or Foe?" kata
    • 5 years ago

    I'm attempting this challenge with JavaScript in the browser console it works, but it fails the test says its undefined and I don't understand why. I figured I'd use filter to filter out those that are exactly 4 characters but it just throws a bunch of undefined back at me why?

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...