• 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
andrzejmobileweb Avatar
Name:Andrzej Wodyński
Clan:Unknown
Member Since:Jun 2015
Last Seen:Apr 2020
Profiles:
Following:4
Followers:11
Allies:4
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (155)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • Kara0410
    • commented on "Opposite number" javascript solution
    • last month

    thx man

  • Custom User Avatar
    • NoneAli
    • commented on "Opposite number" javascript solution
    • last month

    No, JavaScript's interpreter understands both cases with the same way, it's a little bit styled.

  • Custom User Avatar
    • Kara0410
    • commented on "Opposite number" javascript solution
    • last month

    is there a reason to put it in bracets?

  • Custom User Avatar
    • rowcased
    • commented on "Opposite number" javascript solution
    • last month

    Negative Zero Kata

  • Custom User Avatar
    • flinsflimsy05
    • commented on "Opposite number" javascript solution
    • last month

    of course it's this simple and of course I had to complicate it haha well done

  • Custom User Avatar
    • NoneAli
    • commented on "The highest profit wins!" javascript solution
    • 4 months ago

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

  • Custom User Avatar
    • Ezzoubeir03
    • commented on "Remove the time" javascript solution
    • 4 months ago

    I also solved this problem by using the split method to make it more easy for me for solving

  • Custom User Avatar
    • yuzenfura
    • commented on "Opposite number" javascript solution
    • 5 months ago

    man. someone else always came up with such elegant solutions.

  • Custom User Avatar
    • anantacodes
    • commented on "The highest profit wins!" javascript solution
    • 10 months ago

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

  • Custom User Avatar
    • Mat_297
    • commented on "Product of consecutive Fib numbers" javascript solution
    • 12 months ago

    Nice!

  • Custom User Avatar
    • Arturito12
    • commented on "The highest profit wins!" javascript solution
    • 15 months ago

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

  • Custom User Avatar
    • slacle
    • commented on "Product of consecutive Fib numbers" javascript solution
    • 15 months ago

    It's clever for sure. But usually clever != best practice.

  • Custom User Avatar
    • ihusak
    • commented on "Opposite number" javascript solution
    • 15 months ago

    Ohhhh, thanks, nice explanation

  • Custom User Avatar
    • Laukso
    • commented on "Opposite number" javascript solution
    • 16 months ago

    If you pass 0 to the function, it will return -0 yes, but when you try to display -0 (for example, with console.log(-0)), it will appear as 0. This is because JavaScript generally doesn't distinguish between 0 and -0 in the output.

  • Custom User Avatar
    • user6625603
    • commented on "Parse nice int from char problem" javascript solution
    • 17 months ago

    you might think about, if the input have spaces in front. in that case this will throw ""

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...