refactoring
This commit is contained in:
parent
360fc700b1
commit
523ae15a99
@ -15,8 +15,7 @@ export const processInput = (input) =>
|
||||
grid[x][y] = true;
|
||||
}
|
||||
|
||||
grid = [...grid];
|
||||
grid = grid.map((x) => (x ? [...x] : []));
|
||||
grid = [...grid].map((x) => (x ? [...x] : []));
|
||||
|
||||
instructions = instructions
|
||||
.split("\n")
|
||||
|
Loading…
Reference in New Issue
Block a user