• Sign Up
  • Kata
  • Kumite
  • Forum
  • Wiki
  • Leaders
  • Log In
  • Sign Up
Name:Unknown
Clan:Unknown
Member Since:Nov 2013
Last Seen:Aug 2020
Profiles:
Following:0
Followers:1
Allies:0
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (27)
  • Replies
  • Authored
  • Needs Resolution
    • WestwardLand968
    • resolved a suggestion on "Basic JS - Calculating averages" kata

    Reopened as an issue.

    • WestwardLand968
    • created an issue for "Basic JS - Calculating averages" kata

    No random tests

    • B1ts
    • created an issue for "Basic JS - Building a calculator" kata
    • No sample tests
    • No random tests
    • Calculator is already declared somewhere, so we can't use let / const to redefine it
    • Antalika
    • created a suggestion for "Basic JS - Calculating averages" kata

    Need more tests. I made the wrong task. "Attempt" worked.

    • Annietuyan
    • commented on "Basic JS - Calculating averages" kata

    I don't know how to write this test, please help me!

    • sadfwer
    • commented on "Basic JS - Calculating averages" kata

    same here. it kept failing and then i looked at the tests and they were missing.

    • gomesalexandre
    • commented on "Basic JS - Calculating averages" kata

    Nice ;) I had lots of fun refactoring my code !

    • donaldsebleung
    • created a suggestion for "Basic JS - Building a calculator" kata

    Test cases could have included more fixed tests and especially random tests - keep that in mind when authoring future Kata :)

    • CrazyMerlyn
    • commented on "Basic JS - Calculating averages" kata

    Do you mean an Unknown Error?
    As suggested in wiki, try using submit instead of run tests, and refreshing the page.

    • baruchvlz
    • commented on "Basic JS - Calculating averages" kata

    I created a fiddle with some tests and they all work, but when I post the code here it returns and undefined error.

    • ramya-n
    • commented on "Basic JS - Calculating averages" kata

    Hi,
    Is there any other requirements for this kata like if it has to be a object literal notation or constructor type as am keep getting message like "expected 4 but got NaN", but my code is working correctly in other interpreter but not in codewars!!?

    • uphillExpress
    • commented on "Basic JS - Calculating averages" kata

    I kept getting 'unknown error' despite my code being legit. I didn't realize that you need to create your own test cases.

    • gkatsanos
    • commented on "Basic JS - Building a calculator" kata

    I think you should clarify a bit more whether edge cases should be checked or not - for example if someone doesn't insert a number and so on..

    • gkatsanos
    • commented on "Basic JS - Building a calculator" kata

    uhm, you're making a new Calculator variable and you set it equal to your constructor... it's supposed to be something like var myCalc = new Calculator(); and then you can call it as myCalc.add(1,2); and so on. Also on your divide function, you re checking both variables to see if they're zero. That's mathematically not correct. In a/b , a can be very well 0, the result will be zero.

    • JulieMarie
    • commented on "Basic JS - Calculating averages" kata

    So yea, I kept failing and couldn't figure out for the life of me. So I forfeited and every single solution I've plugged in so far has failed as well. Not a good experience for my first attempt lol.

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

Confirm

  • Cancel
  • Confirm