• ###### mozartcommented on "Evaluate mathematical expression" kata

js:
String.match is disabled
no mention in kata description
should add

nice one!

• ###### JohanWiltinkcommented on "Nth Smallest Element (Array Series #4) " javascript solution

NO, mutating your input and using an `O(n log n)` algorithm when you can do `O(n)` is not a Best Practice, no matter how short your code is.

• ###### ds_onecommented on "No Loops 1 - Small enough? - Shortest Code Version" javascript solution

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

• ###### SukachevAlexcommented on "Find the position!" javascript solution

It works only for lowerCase letters

• ###### SpecialEdcommented on "Capitalization and Mutability" javascript solution

Functional, did this start in ES6, I am not a javascript fan per se, but I have noticed a lo9t of Functional programming concepts in it the past couple years, I may finally dig deep and learn me some JS, or then again I might just be lazy and think about it but never quite do it, it is one of those horrible things about the human nature and its pro procrastination ways :)

• ###### dagolinuxoidcommented on "Exes and Ohs" javascript solution

The scary use of dynamic `+=` | it's pretty creative though ;)

• ###### alexshavlovskycommented on "Rock Paper Scissors!" javascript solution

it's really cool

• ###### Evan Gcommented on "Array element parity" javascript solution

It runs in a similar time to mine (I think mine is needlessly verbose but a little bit of a creative solution).

I'm interested in your thoughts on the best sort of solution for this problem. There doesn't seem to be any choice but to traverse the array around arr.length! times.

• ###### Voilecommented on "Array element parity" javascript solution

Nothing. It even has a pretty bad runtime complexity ;-)

You should probably read a few more solution down to see other solutions.

• ###### Evan Gcommented on "Array element parity" javascript solution

This is very nice but seems hard to read. What makes it a best practice?

Nice

• ###### dagolinuxoidcommented on "Homogenous arrays" javascript solution

`typeof e == typeof b[0]` You nailed it in one go! :) I did it poorly

• ###### johnfncommented on "Multiples of 3 or 5" javascript solution

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

ES6 Yo