Great one, helped me a lot. I just felt rising anger using an array with two slots working (not properly) as a dictionary, but then I read this and the implementation did not involve any anger. This made coding in JS almost something like "fun". :)
↧