removed deprecated substr from day03

This commit is contained in:
Nikurasu 2022-12-24 11:04:01 +01:00
parent c6eafebf55
commit 621e86e192

View file

@ -13,8 +13,8 @@ let group = []
rl.on('line', line => {
let inventory = [
line.substr(0, line.length/2),
line.substr(line.length/2)
line.substring(0, line.length/2),
line.substring(line.length/2)
]
let dublicate = ""
inventory0Loop: