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 predates the introduction of classes to JavaScript. Nowadays, it would be more idiomatic to use a
class
.Your code is almost right now (at least it does not timeout). One problem is the output is a 1-dimensional array whilst yours is a 2-dimensional one.
Math is your best friend, it is explained in your comments, you just have to convert them into valid code !! ^^
Also, read this
I found the table name misleading too
Approved
You miss semicolons?
TypeScript translation
Do it do not accept FOR loops in PHP?
i don't know what i'm doing wrong
Very thanks by your help and explication, Riley!
why the description says "class-like object" and not just "class"? There's some difference? It's a real doubt.
Yeah, i undestand how templates literals are (e.g.
${variable} some text
).when i used a external prototype it doesnt work, but it can be a typpo of mine.
I have one question, why the description says "class-like object" and not just "class"? There's some difference? It's a real doubt.
See reply above, backticks work but you aren't using them.
@marcosantoniodev template literals use backticks, not single quotes.
Template literals do work for me
Maybe you're pressing 'test' button, and those tests are missing for this kata, you should just 'submit'
Loading more items...