As a side note, using .push() isn't something I would consider being functional because immutability is a core concept of functional programming.
Too bad, JavaScript makes it hard to do it that way, in that concrete example using Object.assign() and .concat().