• 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
codewars-me Avatar
Name:Unknown
Clan:Unknown
Member Since:Aug 2016
Last Seen:Aug 2016
Profiles:
    Following:0
    Followers:0
    Allies:0
    View Profile Badges
    • Stats
    • Kata
    • Collections
    • Kumite
    • Social
    • Discourse
    • Conversations (9)
    • Replies
    • Authored
    • Needs Resolution
    • Custom User Avatar
      • Mgphone
      • commented on "Descending Order" javascript solution
      • 11 months ago

      wow all same idea :P plus all variables as well

    • Custom User Avatar
      • Firefly2002
      • commented on "Is a number prime?" javascript solution
      • 9 years ago

      Because you don't have to test for anything above 1/2 the number... 2 is the lowest divisible number to check for. Saves computing time.

    • Custom User Avatar
      • waygie
      • commented on "Strip Comments" kata
      • 9 years ago

      By accounting for lines with mutliple markers, right?

    • Custom User Avatar
      • dangerscouse
      • commented on "Strip Comments" kata
      • 9 years ago

      How about allowing markers to be more than 1 character in length to increase the difficulty?

    • Custom User Avatar
      • codewars-me
      • commented on "IP Validation" javascript solution
      • 9 years ago

      It also fails for '1.2.3.4.z'

    • Custom User Avatar
      • codewars-me
      • commented on "Strip Comments" kata
      • 9 years ago

      This kata (javascript) has way too few tests. Far too many incorrect solutions are being submitted.

    • Custom User Avatar
      • codewars-me
      • commented on "Strip Comments" javascript solution
      • 9 years ago

      Yes, except your variables are not declared locally. Also, there is no need to javascript-escape $... '\$' === '$'

    • Custom User Avatar
      • codewars-me
      • commented on "Array.diff" javascript solution
      • 9 years ago

      why not just filter(x => !set.has(x))

    • Custom User Avatar
      • codewars-me
      • commented on "Is a number prime?" javascript solution
      • 9 years ago

      num / 2 ? why? do you mean sqrt(num) ?

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

    Confirm

    • Cancel
    • Confirm

    Collect: undefined

    Loading collection data...