Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Node 18, chai assertions, instanceof checks, sample tests and better initial code (author gone)
debatable as to whether this is good practice or not, but history proved you wrong by adding full-fledged classes to JavaScript, with private and static properties
"missing test cases" when you click test and then the solution passes when you click submit
JS version of this should not exist
really hated this.
Node v12 should be used along with its appropiate assertion tools (Mocha + Chai).
Refer to this and this
No random tests
No sample tests
This is definitely not a 7 Kyu.
Внизу некоторые кексы пишут, что это трудно применимо к языку.
Возможно, но ката интересная, очень рекомендую гуглить)) Успехов!
The Javascript version of this kata should be deleted!
Javascript isn't Java, not even a classical language. So, when there are no classes, and instances of classes, but only objects, what use is the singleton pattern? When you need only a single object with certain properties, then only create one.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Nice kata. I'm one step closer now to comprehending the strange intricacies of javascript prototypical object system.
You could add sample tests
hi, just wondering if no error detected for the code should it pass or not? because it is not passing eventhough (obj1 === obj2) is true and obj2.test is = 1.
thanks
Sam
Loading more items...