DEV Community

Discussion on: The Art of Refactoring: 5 tips to Write Better Code

Collapse
lepinekong profile image
lepinekong

Any idea for multiple key lookup candidates ;)
[key1, key2] -> value1
[key3, key4, key5] -> value2