Shows an error "red line", but works correctly) Is this normal?
WGT It's definitely not normal. I think you can write window.setTimeout to suppress the warning.
window.setTimeout