• 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
NedDevine Avatar
Name:Unknown
Clan:Unknown
Member Since:Aug 2014
Last Seen:Apr 2025
Profiles:
Following:1
Followers:2
Allies:0
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (80)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • metalekan
    • commented on "Friend or Foe?" javascript solution
    • 14 days ago

    Awesome

  • Custom User Avatar
    • kolonatalie
    • commented on "Friend or Foe?" javascript solution
    • 2 months ago

    Great solution!

  • Custom User Avatar
    • oaraujocesar
    • commented on "Friend or Foe?" javascript solution
    • 8 months ago

    Well in that case I wouldn't name the variable as "n". It doesn't mean anything and decreases the readability.

    "f" would be cool, or better: "friend".

  • Custom User Avatar
    • Aleks98
    • commented on "Friend or Foe?" javascript solution
    • 11 months ago

    "Input strings will only contain letters."

  • Custom User Avatar
    • LeiRabe
    • commented on "Friend or Foe?" javascript solution
    • 12 months ago

    How about the name with number ?

  • Custom User Avatar
    • vthdo
    • commented on "Friend or Foe?" javascript solution
    • 17 months ago

    Great solution, thank you. I overcomplicated myself using .split("") and a condition but this is smart. Gotta remember about filter.

  • Custom User Avatar
    • RSSinai
    • commented on "Friend or Foe?" javascript solution
    • 2 years ago

    Names with numbers will be a trend .. apparently

  • Custom User Avatar
    • Vladforever78
    • commented on "Friend or Foe?" javascript solution
    • 2 years ago

    Description says "a name has exactly 4 letters in it". Not numbers.

  • Custom User Avatar
    • SS-Stefanov1
    • commented on "Friend or Foe?" javascript solution
    • 2 years ago

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

  • Custom User Avatar
    • electrounexpo
    • commented on "Is the string uppercase?" javascript solution
    • 2 years ago

    I've been reading a bit of prototypes but I still don't understand, let me explain

    Seeing this solution I understand a bit, but when I want to use this method outside the codewars editor, then I don't know how it works

  • Custom User Avatar
    • GentlemanJack
    • commented on "Friend or Foe?" javascript solution
    • 2 years ago

    I only dislike "n" as a name. "N" doesn't say anything about what we are dealing with. It should be friendName or friend imo.

  • Custom User Avatar
    • joewhocodes
    • commented on "BASIC: Making Six Toast." javascript solution
    • 2 years ago

    Nice one!

  • Custom User Avatar
    • hestamp
    • commented on "Friend or Foe?" javascript solution
    • 3 years ago

    This soulution passed only basic test? bcs string from 4 numbers like '3333' is not a name)

  • Custom User Avatar
    • Shady1k
    • commented on "Friend or Foe?" javascript solution
    • 3 years ago

    Because the author doesn't mention it and everyone is lazy pretty much

  • Custom User Avatar
    • GregLey
    • commented on "Is the string uppercase?" javascript solution
    • 3 years ago

    Oh interesting! I like your solution.

  • Loading more items...
  • © 2025 Codewars
  • About
  • API
  • Blog
  • Privacy
  • Terms
  • Code of Conduct
  • Contact

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...