Maps items in the array src by fn and flattens.
src
fn
Function to map an item into other items.
A new array of mapped items.
Maps items in the array
srcbyfnand flattens.