Post History
JavaScript, 37 bytes I/O as character arrays. a=>b=>b.flatMap(x=>a.map(y=>x<y?x:y)) Try it online!
Answer
#1: Initial revision
# JavaScript, 37 bytes I/O as character arrays. <!-- language-all: lang-javascript --> a=>b=>b.flatMap(x=>a.map(y=>x<y?x:y)) [Try it online!](https://tio.run/##y0osSyxOLsosKNHNy09J/Z9m@z/R1i4JiPTSchJLfBMLNCps7RL1coGMSlu7CptK@wqrSk3N/8n5ecX5Oal6OfnpGmka0Xp6ekqGRsZKsZoQdmJSMpCt@R8A)