Y
Hacker News
new
|
ask
|
show
|
jobs
by
alexgvozden
2924 days ago
as you saw in comments this is needed for logging purposes for example in DevTools, it keeps certain number of logs in memory for debugging purposes
I would not recommend console.log for production anyway