I have an object like this:
let errorMessages = {
    firstName: [
      "It is too short",
      "Only English characters are valid"
    ],
    lastName: [
      "This field is required",
      "Only English characters are valid"
    ]
};
The result of Object.values(errorMessages) is:
[["It is too short", "Only English characters are valid"], ["This field is required", "Only English characters are valid"]]
But I want
["It is too short", "Only English characters are valid", "This field is required", "Only English characters are valid"]
How to achieve this?
 
    