Hello NQE Enthusiasts,
Â
I’ll try to post a new Koan Challenge every two months.
Â
Challenge
This task is to take the following table and group people by age.
Â
Input
 [{ Name: "Bob", Age: 21 },
  { Name: "Sam", Age: 19 },
  { Name: "Jill", Age: 18 },
  { Name: "Jim", Age: 21 },
  { Name: "Sally", Age: 19 }
 ];
Â
Example Result
[{Age: 21, Count: 2}...]
Â
Hint
https://fwd.app/docs/nqe/guides/comprehensions/#group-by-qualifier
Â
Contributions: Unclaimed