• 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
NiklasE Avatar
Name:Niklas Engblom
Clan:Reaktor
Member Since:Apr 2015
Last Seen:Mar 2024
Profiles:
Following:13
Followers:10
Allies:10
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (155)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • Unihedron
    • commented on "Return Negative" javascript solution
    • 3 months ago

    And waste that many seconds writing such unnecessary code to bog up the codebase? Don't quit your day job.

  • Custom User Avatar
    • yoan2024
    • commented on "Return Negative" javascript solution
    • 3 months ago

    WOW GOOD

  • Custom User Avatar
    • Sna-V
    • commented on "Return Negative" javascript solution
    • 7 months ago

    I don't know why 0 * -1 = -0 in JavaScript which is very different from math. Every number that multiplies with 0 should be result in 0 right?

  • Custom User Avatar
    • Sna-V
    • commented on "Return Negative" javascript solution
    • 7 months ago

    ofcourse!

  • Custom User Avatar
    • Unihedron
    • commented on "Return Negative" javascript solution
    • 7 months ago

    Because that doesn't do what the problem requires.

  • Custom User Avatar
    • ikaZM
    • commented on "Return Negative" javascript solution
    • 7 months ago

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

  • Custom User Avatar
    • Unihedron
    • commented on "Return Negative" javascript solution
    • 11 months ago

    -0 is 0. Do you know what the word "bug" means? It means when actual behavior fails to match expected behavior, which is not the case here.

  • Custom User Avatar
    • randi089
    • commented on "Return Negative" javascript solution
    • 11 months ago

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

  • Custom User Avatar
    • Unihedron
    • commented on "Return Negative" javascript solution
    • 11 months ago

    -0 is 0

  • Custom User Avatar
    • Unihedron
    • commented on "Return Negative" javascript solution
    • 11 months ago

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

  • Custom User Avatar
    • cwps
    • commented on "Return Negative" javascript solution
    • 11 months ago

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

  • Custom User Avatar
    • Zaharela
    • commented on "Return Negative" javascript solution
    • 11 months ago

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

  • Custom User Avatar
    • Zaharela
    • commented on "Return Negative" javascript solution
    • 11 months ago

    bomboclacthat

  • Custom User Avatar
    • meemzo
    • commented on "Return Negative" javascript solution
    • 13 months ago

    Niceeee

  • Custom User Avatar
    • ejini战神
    • resolved a question on "Needles in a haystack" kata
    • 14 months ago

    You are storing the results in global scope, so any preceding function calls will cause the previously unnecessary values to accumulate.

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...