• 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
DanielRX Avatar
Name:Daniel
Clan:Reedcode
Member Since:Nov 2018
Last Seen:Jun 2023
Profiles:
Following:2
Followers:3
Allies:2
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (8)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • metawort
    • commented on "Sort Numbers" typescript solution
    • 2 years ago

    true, there should be a test case for that

  • Custom User Avatar
    • ohotnikarturik
    • commented on "Sort Numbers" typescript solution
    • 2 years ago

    What about if null is passed?

  • Custom User Avatar
    • musterion
    • commented on "Reverse words" typescript solution
    • 2 years ago

    clean solution.👍🏾

  • Custom User Avatar
    • DanielRX
    • commented on "Sort Numbers" typescript solution
    • 3 years ago

    True, replacing nums with [...nums] would fix it if that is needed

  • Custom User Avatar
    • dmytropavlov
    • commented on "Sort Numbers" typescript solution
    • 3 years ago

    Be careful. This solution will change the initial array.

    https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort
    "Note that the array is sorted in place, and no copy is made."

  • Custom User Avatar
    • DanielRX
    • commented on "Grasshopper - Messi goals function" kata
    • 6 years ago

    Thanks for the fix!

  • Custom User Avatar
    • DanielRX
    • commented on "Grasshopper - Messi goals function" kata
    • 6 years ago

    Typescript does not compile, unsure if it's the test or something else

  • Custom User Avatar
    • DanielRX
    • commented on "HelloWorld Smart Contract!" kata
    • 7 years ago

    The test doesn't check for ''
    If you set the greeting back to '', should it return 'Hello world!' or ''?

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...