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 kata was decided to stay.
This kata is a subject to deduplication process here: https://github.com/codewars/content-issues/issues/141.
Please join the discussion to help us identify duplicate kata and retire them.
Raised as an issue above.
This should clarify your doubt Yes, JS is weird ^^ and it has never been unlike so since its creation ~~
This comment is hidden because it contains spoiler information about the solution
You right, I tried it again and it works. Maybe I copied the wrong thing.
NO random tests
Test uses
Test.expect
andTest.assertSimilar
Node 12 should be enabled (Refer this and this for more info)
Maybe you copied something less, I copied the solution you commented and it worked ~~
Okay, I see a lot of solutions use
parseInt
without second argument. But when I tried to copy their solutions and tried it myself, I failed. Why?Unpublished.
Thanks for the feedback 😊
No go.
This kata is about peculiar issue that you may stubmle upon while using JavaScript and I intend it to stay that way.
Java Translation
Please give feedback/approval. Thank You :)
Python translation
This comment is hidden because it contains spoiler information about the solution
Description:
You have been asked to work out the area of number of rectangles.
The input to your function is a array of longs. If the arrays length is odd you should return void. Otherwise you should use adjacent pairs of longs to calculate the area.
For example if the input is {4,4,5,5,6,6,7,7} you should return {16, 25, 36, 49}.
Loading more items...