That is GENIUS
Didn't know about Array.from, it's very helpful, thanks a lot !
does the function length exist in elixir?
it works by creating an object and then using the objects key to get the value
if you want to know more:
cool. thanks for the inspiration on Array.from and its second parameter.
I agree, using unfamiliar confusing features of some languages can lead to nightmares for other team members of project for example...
This comment is hidden because it contains spoiler information about the solution
=== instead of == is better practice