• 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
SampsonM Avatar
Name:Mark Sampson
Clan:Northcoders
Member Since:Oct 2017
Last Seen:Feb 2025
Profiles:
Following:301
Followers:299
Allies:299
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (41)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • Td94Dev
    • commented on "Third Angle of a Triangle" javascript solution
    • 6 months ago

    net et précis

  • Custom User Avatar
    • stevelw
    • commented on "Reversed sequence " javascript solution
    • 12 months ago

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

  • Custom User Avatar
    • stevelw
    • commented on "Reversed sequence " javascript solution
    • 12 months ago

    I think it's bad practice to modify a parameter within a function unless that's the purpose of the function.

  • Custom User Avatar
    • not.burpy
    • commented on "Reversed sequence " javascript solution
    • 14 months ago

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

  • Custom User Avatar
    • Singfield
    • commented on "Reversed sequence " javascript solution
    • 2 years ago

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

  • Custom User Avatar
    • MonoxGG
    • commented on "Reversed sequence " javascript solution
    • 2 years ago

    Didn't know this. Thanks!

  • Custom User Avatar
    • MichaelJOHare
    • commented on "Reversed sequence " javascript solution
    • 2 years ago

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

  • Custom User Avatar
    • DareDev
    • commented on "Is he gonna survive?" javascript solution
    • 3 years ago

    it is not.. in javascript, anything divided by zero equals to infinity..

    so infinity will always be greater than 2

    Unless of course, it is negative infinity haha..

    in that case negative infinity will always be lesser than 2

    And also, if you got 0 dragons to kill and 0 bullets to use

    in javascript, 0 divided by 0 will be NaN

    Well.. the story clearly says there will be dragons and as a hero you should always bring a weapon if you're gonna kill that dragon..
    so negative bullets is highly unlikely
    also, 0 dragons and 0 bullets

    But you got a point! HEHE

  • Custom User Avatar
    • Ismail-Alizada
    • commented on "Third Angle of a Triangle" javascript solution
    • 3 years ago

    yes, it is just the condition of kata says you don't need that

  • Custom User Avatar
    • Hassanmuh
    • commented on "Third Angle of a Triangle" javascript solution
    • 3 years ago

    Well, but you can add a validation for arguments to check if they're positive

  • Custom User Avatar
    • FwayDough
    • commented on "Reversed sequence " javascript solution
    • 3 years ago

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

  • Custom User Avatar
    • royMustang
    • commented on "Reversed sequence " javascript solution
    • 3 years ago

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

  • Custom User Avatar
    • rsschool_e5234175deb8daa7
    • commented on "Is he gonna survive?" javascript solution
    • 3 years ago

    If dragons == 0 then it will be mistake

  • Custom User Avatar
    • Cedrickkouek12
    • commented on "Reversed sequence " javascript solution
    • 3 years ago

    You're a genius!

  • Custom User Avatar
    • darksbond
    • commented on "Reversed sequence " javascript solution
    • 4 years ago

    I wrote the same way

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...