• 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
Yugetio Avatar
Name:Vladislav Kaminsky
Clan:Unknown
Member Since:Jun 2017
Last Seen:May 2025
Profiles:
Following:5
Followers:6
Allies:5
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (38)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • Big-Boss-000
    • commented on "MakeUpperCase" javascript solution
    • 3 months ago

    That's exactly what is being done, omitting the return keyword is just a common shorthand for 1 liner arrow functions

  • Custom User Avatar
    • Matteo__3139
    • commented on "MakeUpperCase" javascript solution
    • 11 months ago

    dont need use return if function wrote in 1 line

  • Custom User Avatar
    • ssrwuhan
    • commented on "MakeUpperCase" javascript solution
    • 17 months ago

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

  • Custom User Avatar
    • KatlehoMadaba
    • commented on "MakeUpperCase" javascript solution
    • 2 years ago

    arrow functions :)should have thought of that cool

  • Custom User Avatar
    • Jesse-06
    • commented on "MakeUpperCase" javascript solution
    • 2 years ago

    Nicely done. Arrow fuctions are ideal for one-liners.🔥

  • Custom User Avatar
    • victoreke
    • commented on "Convert a Boolean to a String" javascript solution
    • 2 years ago

    Lol. This is really clever! Wonder what execution time would look like.

  • Custom User Avatar
    • StableUpper
    • commented on "Convert a Boolean to a String" javascript solution
    • 2 years ago

    I've never thought that this as well as '' + b converts the variable to String. And it does. Even with null, undefined and NaN as a value of variable.

  • Custom User Avatar
    • Hanna-Bazdyrieva
    • commented on "Convert a Boolean to a String" javascript solution
    • 2 years ago

    Nice one!

  • Custom User Avatar
    • Jhngrcke
    • commented on "Convert a Boolean to a String" javascript solution
    • 3 years ago

    I don't believe I would have ever thought of this. Nice.

  • Custom User Avatar
    • ElijahMsheliza
    • commented on "Convert a Boolean to a String" javascript solution
    • 3 years ago

    Very Nice

  • Custom User Avatar
    • Chrono79
    • commented on "Take the Derivative" javascript solution
    • 3 years ago

    No problem, you're welcome.

  • Custom User Avatar
    • ratiomark
    • commented on "Take the Derivative" javascript solution
    • 3 years ago

    Right, now I can see my mistake, I was thinking exactly oposite(that there is right output is 2x^2).

    English is not my native language, so I misunderstanded task)

    Thank you for explaining, now I get it)

  • Custom User Avatar
    • Chrono79
    • commented on "Take the Derivative" javascript solution
    • 3 years ago

    That means, the derivative of x^2 should be noted as 2x^1 instead of 2x. I think you didn't get that part.

    Your code returns 2x^2 instead. That's why it is invalid.

  • Custom User Avatar
    • ratiomark
    • commented on "Take the Derivative" javascript solution
    • 3 years ago

    It's from description:

    ..."^1" should not be truncated when exponent = 2.

    Yes, it will pass, but it shouldn't. If it pass it doesn't mean "it's correct".

  • Custom User Avatar
    • Chrono79
    • commented on "Take the Derivative" javascript solution
    • 3 years ago

    It passes, why do you say it won't? Have you tried it? Your code is wrong and it passed because random tests didn't generate a test with exponent = 2.

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...