1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 01:57:44 +00:00

LibJS: Implement console.countReset()

I chose to also make it print "<counter_name>: 0\n" when a counter gets
reset, similarly to how firefox behaves.
This commit is contained in:
Emanuele Torre 2020-05-01 08:59:05 +02:00 committed by Andreas Kling
parent 8c60ba1e42
commit 46b79eaad9
2 changed files with 20 additions and 0 deletions

View file

@ -45,6 +45,7 @@ private:
static Value error(Interpreter&);
static Value trace(Interpreter&);
static Value count(Interpreter&);
static Value count_reset(Interpreter&);
};
}