• 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
ninjascience Avatar
Name:Unknown
Clan:Unknown
Member Since:Jun 2014
Last Seen:Jan 2015
Profiles:
Following:0
Followers:0
Allies:0
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (32)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • ptihiy
    • commented on "Dangerous Dates" kata
    • 11 months ago

    Yes, that's not debugging, that's rewriting) But at least it's another good chance to get along with date object)

  • Custom User Avatar
    • max30272
    • commented on "Dangerous Dates" kata
    • 3 years ago

    Debuging? It seems like rewrite it.

  • Custom User Avatar
    • B1ts
    • commented on "Say "Hello World" JS Style" kata
    • 3 years ago

    This is a bit harder than what you tried. it should work with say(word1)(word2).

  • Custom User Avatar
    • rsschool_8e4fcd5cadfcd9dc
    • commented on "Say "Hello World" JS Style" kata
    • 3 years ago

    Thank you, I thought there could be many solutions))

  • Custom User Avatar
    • B1ts
    • commented on "Say "Hello World" JS Style" kata
    • 3 years ago

    Use return, not console.log, and English please :P

  • Custom User Avatar
    • rsschool_8e4fcd5cadfcd9dc
    • commented on "Say "Hello World" JS Style" kata
    • 3 years ago

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

  • Custom User Avatar
    • farhanaditya
    • created an issue for "Dangerous Dates" kata
    • 4 years ago

    JS: No random tests

  • Custom User Avatar
    • ejini战神
    • resolved a suggestion on "Say "Hello World" JS Style" kata
    • 4 years ago

    Approved

  • Custom User Avatar
    • akar-0
    • commented on "Say "Hello World" JS Style" kata
    • 4 years ago

    Similar (but somehow different) to this kata

  • Custom User Avatar
    • FArekkusu
    • created an issue for "Dangerous Dates" kata
    • 5 years ago

    No sample tests.

  • Custom User Avatar
    • giannismach
    • created a suggestion for "Say "Hello World" JS Style" kata
    • 7 years ago

    Typescript translation added, please approve.

  • Custom User Avatar
    • matt c
    • commented on "Say "Hello World" JS Style" kata
    • 10 years ago

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

  • Custom User Avatar
    • tu6619
    • commented on "Say "Hello World" JS Style" kata
    • 10 years ago

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

  • Custom User Avatar
    • emporio
    • commented on "Dangerous Dates" kata
    • 10 years ago

    You should include how you pass the date parameter

  • Custom User Avatar
    • computerguy103
    • created an issue for "Dangerous Dates" kata
    • 11 years ago

    You need to check spans which include the days when Daylight Savings Time begins and ends. Solutions which naively add 24-hour intervals will give the wrong result.

    Test.assertEquals(nextFiveDays(new Date(2012, 10, 2)),
      '11/3/2012, 11/4/2012, 11/5/2012, 11/6/2012, 11/7/2012',
      'Should give correct result when Daylight Savings Time ends');
    Test.assertEquals(nextFiveDays(new Date(2013, 2, 7, 23, 59)),
      '3/8/2013, 3/9/2013, 3/10/2013, 3/11/2013, 3/12/2013',
      'Should give correct result when Daylight Savings Time begins');
    

    I know, I know... dates are hard.

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...