Hello,
Help please to stop setInterval after ending print ascii image.
setInterval(type, 100); - this type my image and it's ok, but i need to stop after complete, in my script it after complete printing it show: undefined
I know that i need clearInterval, i try some examples from stackoverflow but can't stop. You can see how it work https://codepen.io/oimnet/pen/PoXLmQE
Help please to stop setInterval after ending print ascii image.
setInterval(type, 100); - this type my image and it's ok, but i need to stop after complete, in my script it after complete printing it show: undefined
I know that i need clearInterval, i try some examples from stackoverflow but can't stop. You can see how it work https://codepen.io/oimnet/pen/PoXLmQE