let btn = document.createElement("button");
btn.id = "submitBV"
let firstRow = 12
let lastRow = 59
btn.addEventListener("click", autoInput(firstRow, lastRow))
function autoInput(firstRow, lastRow){
print()
}
It tells me Void function return value is used
(screenshot).
After I add a return 1
, it doesn't solve as well (screenshot2).