Flatten a deeply nested JavaScript array of mixed values, group the values by typeof, and count each value within its type.
Flatten a deeply nested JavaScript array of mixed values, group the values by typeof, and count each value within its type.
Opens with the full question.