+ 2
Get last output in console?
If I want to get last output (console.log , dir error, warn, inform, table)?
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