mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 23:25:20 +00:00
LibJS: Implement ConsoleObject::count() as a Console::count() wrapper
Also implement ConsoleObject::count_clear() as a wrapper for Console::count_clear()
This commit is contained in:
committed by
Andreas Kling
parent
2e92c2e5e1
commit
e9c7d4524a
@@ -43,6 +43,9 @@ public:
|
||||
|
||||
HashMap<String, unsigned>& counters() { return m_counters; }
|
||||
|
||||
unsigned count(String label = "default");
|
||||
bool count_reset(String label = "default");
|
||||
|
||||
private:
|
||||
Interpreter& m_interpreter;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user