Internal error

(list || []).map is not a function