Make sure to pick console.log followed by ( and then "Scan #" + i, ), ;.
console.log
(
"Scan #" + i
)
;