Emanuele Torre
46b79eaad9
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.
2020-05-01 13:02:01 +02:00
Emanuele Torre
8c60ba1e42
LibJS: Implement console.count()
2020-05-01 13:02:01 +02:00
Linus Groh
dd7796515f
LibJS: Add console.{debug,info,warn,error}()
2020-04-12 18:42:42 +02:00
Linus Groh
3b21c4aa56
LibJS: Add console.trace()
2020-04-11 14:10:42 +02:00
Andreas Kling
56936b97d0
LibJS+LibWeb: Move native JS functions into dedicated member functions
...
Instead of implementing every native function as a lambda function,
use static member functions instead.
This makes it easier to navigate the code + backtraces look nicer. :^)
2020-03-28 23:10:37 +01:00
Andreas Kling
086f68e878
LibJS: Replace the global print() function with console.log() :^)
2020-03-16 14:58:20 +01:00