It is uniform. Maybe it wasn't when you make this comment.
Looks clean, great approach! But indexOf + lasIndefOx calls count make perfomance side not so good.
i've been testing it and the result is 0.3999999999999999
so it means this code is not finished yet
Not sure why you ppl using existing libraries, the idea here to create new solutions! :(
This comment is hidden because it contains spoiler information about the solution
I was looking for a comment like this xdd, thx dude
fixed (updated JS to Node 12. as well)
but what if 2.4?
I think it is because unary operator + which causes JS type coercion
Can't be changed now.