Erlang-like pattern matching in JavaScript | Heykuki News