javascript es6 one-liner
\nvar flipAndInvertImage = function(A) {\n    return A.map((row) => row.reverse().map((pixel) => pixel ^ 1));\n};\n
```\nvar flipAndInvertImage = function(A) {\n    return A.map((row) => row.reverse().map((pixel) => pixel ^ 1));\n};\n```
[]