removed deprecated substr from day03
This commit is contained in:
parent
c6eafebf55
commit
621e86e192
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue