+ 2

Get last output in console?

If I want to get last output (console.log , dir error, warn, inform, table)?

7th Jul 2019, 4:33 AM
Tomáš Wróbel
Tomáš Wróbel - avatar
1 Odpowiedź
+ 1
Hey, theres no direct access to the console logs, however, there is a workaround: https://code.sololearn.com/WtN8SnNea791/?ref=app in this example you can do a standard console log with console.stdlog() - wont be stored in array - or console.log() - will be stored in array and can be searched within
17th Jul 2019, 5:14 PM
Daniel Asherov