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.
Tad bit late on this, but hopefully helpful for future users:
The way this function is written is in the arrow function form but it's ultimately the exact same thing as doing the regular function declaration form that you wrote. Just returns 1 line instead and makes the code look more clean.
Changed description with an additional SQL block.
All languages share the same description, in SQL katas, you should normally follow the instructions in the comments they're specific for SQL only.
The task asks for "an array: [area, volume]" but the comments and tests want "a query with columns: width, height, depth, area (int), volume (int)"
(note: the user is trying sql)
How exactly they do not match? Can you give an example?
The task instructions do not match the comment instructions or the expected results
This solution isn't pure.
This solution isn't pure
How do I downvote this?
How would this work with non-number types?
This comment is hidden because it contains spoiler information about the solution
This solution would be better if it used a named constant instead of the abstract value.
This comment is hidden because it contains spoiler information about the solution
I think it's bad practice to modify a parameter within a function unless that's the purpose of the function.
Loading more items...