• 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
ihusak Avatar
Name:Illia Husak
Clan:afreestylers
Member Since:Oct 2019
Last Seen:Feb 2025
Profiles:
Following:0
Followers:0
Allies:0
View Profile Badges
Ad
How many Kata did you complete in 2024?
Discover our top moments in 2024 and how you can level up in 2025.
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (4)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • rowcased
    • commented on "Opposite number" javascript solution
    • 2 months ago

    Negative Zero Kata

  • Custom User Avatar
    • ihusak
    • commented on "Opposite number" javascript solution
    • 16 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
    • ihusak
    • commented on "Opposite number" javascript solution
    • 2 years ago

    negative 0? ahahahha nice solution. How it's passed test? Mistake or miracle?

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...