• Sign Up
  • Kata
  • Kumite
  • Blog
  • Forum
  • Wiki
  • Leaders
  • Log In
  • Sign Up
Name:Mohammed Ismail Ansari
Clan:team.fluxion
Skills:html, css, javascript, vb, c#, lisp
Member Since:Jun 2014
Last Seen:Jun 2020
Profiles:
Following:40
Followers:55
Allies:39
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (391)
  • Replies
  • Authored
  • Needs Resolution
    • jasonmenayan
    • commented on "Convert boolean values to strings 'Yes' or 'No'." javascript solution

    The ternary expression evaluates whether the argument bool is true or false, returning "Yes" if the former and "No" if the latter.

    • porphyrogennitos
    • commented on "Convert boolean values to strings 'Yes' or 'No'." javascript solution

    Why does this work?

    • morriganistaken
    • commented on "Dollars and Cents" javascript solution

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

    • bujang26
    • commented on "Convert boolean values to strings 'Yes' or 'No'." javascript solution

    ternary

    • XRFXLP
    • resolved an issue on "Find the middle element" kata

    Because in JS, sort doesn't work the way it works in other languages.

    • sarvagyaSingh12
    • created an issue for "Find the middle element" kata

    why does sort doesnot work!!

    • Ltn Parth Darade
    • commented on "Find the middle element" kata

    yes thanks for reminding me of .slice
    thank you

    • ejini战神
    • resolved a suggestion on "Find the middle element" kata

    'alr approved some time ago'

    • pmoeller91
    • commented on "Sum of positive" javascript solution

    You should be correct, this is O(2n). This solution should be perfectly acceptable and scale just fine with large lists. There is no need to optimize unless the code is causing actual performance issues. Readability and intent should be king unless you are seeing some issues with the code. Even running this with 6x CPU throttling, the duration for filter-then-reduce is 0.6ms for me on an array with 10000 elements. (Base CPU Ryzen 5 3600X, throttled 6x using Chrome dev tools) Unless this is being run extremely frequently or on extraordinarily large lists, it should not be a noticeable problem.

    • ViniciusAlba
    • commented on "Convert boolean values to strings 'Yes' or 'No'." javascript solution

    I did it at the same way. Nice job.

    • LucaVoz
    • commented on "Convert a String to a Number!" javascript solution

    yo shoes are mega raggidy

    • Chrono79
    • commented on "Reversed Words" javascript solution

    It still works, why do you say so?

    • akant11
    • commented on "Reversed Words" javascript solution

    Its doesn't work anymore... i have no idea how to solve it xd

    • SLVrn
    • commented on "Opposite number" javascript solution

    это как к линтеру привыкнешь)

    • vlad88813
    • commented on "Opposite number" javascript solution

    скобки в return не обязательны

  • Loading more items...
  • © 2021 Codewars
  • About
  • API
  • Blog
  • Privacy
  • Terms
  • Contact
  • powered by

Confirm

  • Cancel
  • Confirm