What can be said about the codes A and B given below?
A:
[1, [2], 3]
|> List.flatten()
B:
[1, [2], 3]
v() |> List.flatten()
Options
- Both A and B are equivalent.
- Both A and B are not equivalent.
- A will run without error but B will throw errors.
- B will run without error but A will throw errors.