+ 2

Delete Specific Message in Console

So I know about console.clear(). It clears the whole console. But is their a command that can remove a specific message?I want to delete a single message but not clear the whole console. Here's an example or something I was thinking: console.log("One"); console.log("Two"); // Is there a way I can just do something like... console.remove("Two")? Thanks in advance

7th Mar 2018, 10:04 PM
1 Answer
+ 4
I don’t think so, but there could be other ways to add something like that. You could have an array containing every line you output to the console, remove what you want from there, clear the console, then output everything in the array.
7th Mar 2018, 11:18 PM
Jacob Pembleton
Jacob Pembleton - avatar