When I try using array.flat() in my backend code it throws an error: array.flat is not a function.
Why is that?
Hello. Wix uses Active LTS node version “10.x.x” in backend. Flat was added to node in “11.0.0”. After 12.x will become active version, wix will also update it’s servers to 12.x and flat will be available.
Thanks for letting me know.