Reputation: 3683
I am getting an "undefined" message upon typing the clear() function in google chrome console.
Upvotes: 1
Views: 465
Reputation: 3683
clear() function will not work when preserve log is enabled.
We need to uncheck the option "Preserve Log" on console tab
(or)
go to settings -> general -> console -> uncheck "Preserve log upon navigation".
Upvotes: 1