• 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
protto Avatar
Name:chase
Clan:ottofy.dev
Member Since:Feb 2022
Last Seen:Mar 2025
Profiles:
Following:8
Followers:10
Allies:6
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (50)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • protto
    • commented on "Perimeter of squares in a rectangle" javascript solution
    • 5 months ago

    thanks for including formula name I collect these lol

  • Custom User Avatar
    • protto
    • commented on "Sum of odd numbers" python solution
    • 6 months ago

    what a troll lol, you're just mad you had to use a loop like a LOSER. good for you though commenting an explanation of what an odd number is, really top notch best practice stuff. Do you usually go on codewars before or after your shift at google?

  • Custom User Avatar
    • protto
    • commented on "Find the missed number" kata
    • 7 months ago

    i hated it, good kata

  • Custom User Avatar
    • protto
    • commented on "Block sequence " kata
    • 2 years ago

    born too late to explore the earth, too early to explore the stars, but just in time to spend 3 hours on a 30 minute kata that I'll forget by the time I walk into my graveyard shift at the gas station tonight. all in a day's work baby

  • Custom User Avatar
    • protto
    • commented on "Opposites Attract" javascript solution
    • 2 years ago

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

  • Custom User Avatar
    • protto
    • commented on "Latin Square Validator" kata
    • 2 years ago

    Good job on the testing, very thorough. Really forces you to organize and be orderly. I'll be referencing this when I try to make my own kata. ++

  • Custom User Avatar
    • protto
    • commented on "Sum Strings as Numbers" javascript solution
    • 2 years ago

    i need to stop following rules...

  • Custom User Avatar
    • protto
    • commented on "Javascript Magic Function" javascript solution
    • 2 years ago

    nice exploit doc.

  • Custom User Avatar
    • protto
    • commented on "Smart Sum" kata
    • 2 years ago

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

  • Custom User Avatar
    • protto
    • commented on "Exclusive "or" (xor) Logical Operator" javascript solution
    • 2 years ago

    !! is used to convert a truthy/falsy value to its boolean equivalent.

    let num = 5; (truthy)
    !num // false
    !!num // true

    let num = 0; (falsy)
    !num // true
    !!num // false

    comparing 5 with !!5 would be the equivalent of comparing 5 with true (which is false)
    5 === !!5
    5 === true

    The only reason people still use it over Boolean (other than wanting to look like elite hackers) is because it's something like 10-15% faster (last time I checked)

  • Custom User Avatar
    • protto
    • commented on "Tic-Tac-Toe Checker" javascript solution
    • 2 years ago

    oh thats spicy

  • Custom User Avatar
    • shivaprakash-sudo
    • commented on "Vector class" kata
    • 3 years ago

    yeah, you're right, this bugged me for a while too, but I finally figured this out after a little online searching and the satisfaction of passing all the tests was soooo good.

  • Custom User Avatar
    • protto
    • commented on "Subtract the Sum" kata
    • 3 years ago

    it does have a puzzle tag at least

  • Custom User Avatar
    • protto
    • commented on "Vector class" kata
    • 3 years ago

    I believe the "Unspecified AssertionError" that many are getting is most likely related to an improper use of "this" when it comes to chaining methods

    https://stackoverflow.com/questions/8300844/what-does-return-this-do-within-a-javascript-function

  • Custom User Avatar
    • protto
    • commented on "A Needle in the Haystack" javascript solution
    • 3 years ago

    a print of this will go great in my living room

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...