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.
This has not been correct since 2015: https://2ality.com/2015/10/property-traversal-order-es6.html
The insertion order for the specific object they created can be relied upon.
The object ROMAN is not guaranteed to be iterated through in the order it was declared according to JS specification, you should instead rely on an array, or just convert using
Object.keys(ROMAN).map(k => [k, ROMAN[k]]).sort((a, b) => b[1] - a[1])
.Can't do
!(x+y)
, because if x and y match, you'll get a false positive.