Похожие чаты

No it's just clear. Ok let's say that I have

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)

2 ответов

6 просмотров

the only way to "redo" console logs is console.clear()

maybe just: console.log(1000); instead of setting the score?

Похожие вопросы

Обсуждают сегодня

Карта сайта