Skip to content

Commit efcb074

Browse files
committed
Solution for day 14 (2020)
1 parent d11b390 commit efcb074

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

2020/14/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ function version1(program) {
2323

2424
function version2(program) {
2525
let mask = ''.padStart(36, '0')
26-
let mem = {}
26+
let mem = []
2727
program.forEach(line => {
2828
if (line.substr(0, 7) === 'mask = ') {
2929
mask = line.substr(7)

0 commit comments

Comments
 (0)