Thank you!

• GoumiesOnecommented on "Find the calculation type" javascript solution

The property of the object is computed.
It's like:

``````calcType(1,2,3) => {
[-2]: "subtraction",
[2]: "multiplication",
[O.5]: "division"
}

``````

and [res] calls the equivalent property. So up here, it calls `3`

• JAK1008commented on "Find the calculation type" javascript solution

Hey, what do the square brackets do in this case? Could you please explain the syntax? Thanks!

• rowcasedcommented on "Check Even Number" kumite

it's an ancient JediScript mind-trick

• C_Minorcommented on "Check Even Number" kumite

What the hell

• Stettafirecommented on "Subtract the Sum" kata

I was wondering that myself, it seems like it isn't ranked properly if that's the case.
The kata is based on a trick more so then actual programming, which seems to defeat the point of a code kata.

• MaximPravenkiycommented on "Sum Strings as Numbers" javascript solution

Ты душный, братик... Может ты банчишь мороженым на москварике?

• Neocortexxcommented on "Training JS #1: create your first JS function and print "Helloworld!"" javascript solution

You hacked it! 👏

• C_Minorcommented on "Maximum Multiple" rust solution

Can someone explain this sorcery?

• Voilecommented on "Sum Strings as Numbers" javascript solution

You are supposed to write yourself all the solutions

It has nothing to do with having to write everything from scratch.

• cliffstampcommented on "Subtract the Sum" kata

This comment is hidden because it contains spoiler information about the solution

• Talrendiscommented on "Define a card suit" javascript solution

oh man i never notice such obvious things :(

• C_Minorcommented on "Sum Strings as Numbers" javascript solution

You are supposed to write yourself all the solutions, in real world you can and must use other framework/libraries/utilities wrote by others in order to not reinventing the wheel, but here, you should use just your skill in programming to come to a solution

• dHilbertcommented on "Sum Strings as Numbers" javascript solution

This isnt cheating imo, he went out and found a bignum. Then used it in the code he wrote. Are we supposed to rewrite every library function we use?

• user7856383commented on "Find the position!" javascript solution

It works only for lowerCase letters