src/tinier.js
function flattenElementsAr (ar) {
  return ar.reduce((acc, el) => {
    return isArray(el) ? [ ...acc, ...el ] : [ ...acc, el ]
  }, []).filter(notNull) // null means ignore
}
function flattenElementsAr (ar) {
  return ar.reduce((acc, el) => {
    return isArray(el) ? [ ...acc, ...el ] : [ ...acc, el ]
  }, []).filter(notNull) // null means ignore
}
function flattenElementsAr ( ar ) { return ar . reduce ( ( acc , el ) => { return isArray ( el ) ? [ ... acc , ... el ] : [ ... acc , el ] } , [ ] ) . filter ( notNull ) // null means ignore }
flatten the elements array
flatten the elements array