Exercism exercises in EcmaScript 6