score = 0; by default. And I send console.log(score=1000) via a button.
Is there anyway to redo what I did in console.log and set it back to its default value?
Without having to implement another button and say console.log(score=0)
the only way to "redo" console logs is console.clear()
maybe just: console.log(1000); instead of setting the score?
Обсуждают сегодня