• 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
opensas Avatar
Name:opensas
Clan:Unknown
Member Since:Jul 2014
Last Seen:Nov 2022
Profiles:
Following:1
Followers:2
Allies:0
View Profile Badges
Ad
How many Kata did you complete in 2024?
Discover our top moments in 2024 and how you can level up in 2025.
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (78)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • Blind4Basics
    • commented on "Deep comparison of objects" kata
    • 2 months ago

    that will expect false, not true.

    Here are the tests:

    o1 = {name: 'Joe', surname: 'Smith'};
    o2 = {name: 'Joe', surname: 'Smith'};
    Test.assertEquals(deepCompare(o1,o2), true, 'should handle objects');
    
    o1 = {name: 'Joe', surname: 'Smith'};
    o2 = {surname: 'Smith', name: 'Joe'};
    Test.assertEquals(deepCompare(o1,o2), true, 'property order should not matter');
    
    o1 = {name: 'Joe', surname: 'Smith'};
    o2 = {name: 'Joe'};
    Test.assertEquals(deepCompare(o1,o2), false, 'should detect when a property is missing');
    Test.assertEquals(deepCompare(o2,o1), false, 'should detect when a property is missing');
    
  • Custom User Avatar
    • timoshinskiy
    • commented on "Deep comparison of objects" kata
    • 2 months ago

    Why compare two of this objects must return true??
    { name: 'Joe' } { name: 'Joe', surname: 'Smith' }

  • Custom User Avatar
    • trashy_incel
    • resolved an issue on "Parsing JSON leaves" kata
    • 3 years ago

    it's already enabled

  • Custom User Avatar
    • JohanWiltink
    • created an issue for "Parsing JSON leaves" kata
    • 3 years ago

    Node 14.x should be enabled.

    This kata is one of only twenty-odd kata stuck in Node 10.x that are preventing removal of Node 10.x and Node 12.x; see https://github.com/codewars/content-issues/wiki/List-of-JavaScript-Kata-to-Update#list-of-node-10x-kata

    Raising the issue instead of fixing it myself because (a) I haven't solved this kata and (b) I'm not sure it's worth it, seeing how it's languishing in Beta.

  • Custom User Avatar
    • farhanaditya
    • created an issue for "Implementing Array.prototype.groupBy method" kata
    • 4 years ago

    JS: Node v12 should be used enabled along with its appropiate assertion tools (Mocha + Chai).

  • Custom User Avatar
    • farhanaditya
    • commented on "Implementing Array.prototype.groupBy method" kata
    • 4 years ago

    I'd prefer the original one. I don't even know what "identity function" means.

  • Custom User Avatar
    • DanielSchuette
    • commented on "Parsing JSON leaves" kata
    • 5 years ago

    Looks like someone had a bad day at work. Don't take it personally. Let the guy raise another 50 issues. Who cares.

  • Custom User Avatar
    • trashy_incel
    • resolved an issue on "Parsing JSON leaves" kata
    • 5 years ago

    Go raise that issue on the few thousands of other katas that dont have node 12 enabled then , i'm waiting :)
    you are so childish ^^

  • Custom User Avatar
    • FArekkusu
    • created an issue for "Parsing JSON leaves" kata
    • 5 years ago

    Pretty much a duplicate of these 2 katas.

  • Custom User Avatar
    • FArekkusu
    • created an issue for "Parsing JSON leaves" kata
    • 5 years ago

    Node 12 should be enabled.

  • Custom User Avatar
    • FArekkusu
    • created an issue for "Parsing JSON leaves" kata
    • 5 years ago

    The function name should be in camelCase.

  • Custom User Avatar
    • FArekkusu
    • created an issue for "Parsing JSON leaves" kata
    • 5 years ago

    The issue below is not fixed.

  • Custom User Avatar
    • FArekkusu
    • commented on "Parsing JSON leaves" kata
    • 5 years ago

    Learn how to use the test framework.

  • Custom User Avatar
    • trashy_incel
    • resolved an issue on "Parsing JSON leaves" kata
    • 5 years ago

    No they're not. The default error messages do not stringify arrays beyond a certain size.

  • Custom User Avatar
    • FArekkusu
    • created an issue for "Parsing JSON leaves" kata
    • 5 years ago

    The custom error messages are duplicating the default error messages, making the whole thing unreadable.

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...