summaryrefslogtreecommitdiff
path: root/Base/home
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2020-04-12 17:00:06 +0100
committerAndreas Kling <kling@serenityos.org>2020-04-12 18:42:42 +0200
commitdd7796515fe34a80c2d2cce2ff0cc6fde41e02b4 (patch)
treeb77d68b70a3e065f4513823b4b7989e9b4fd33ea /Base/home
parentb1e8cc22bdd4750cadf81c152debce791026ea0a (diff)
downloadserenity-dd7796515fe34a80c2d2cce2ff0cc6fde41e02b4.zip
LibJS: Add console.{debug,info,warn,error}()
Diffstat (limited to 'Base/home')
-rw-r--r--Base/home/anon/js/console.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/Base/home/anon/js/console.js b/Base/home/anon/js/console.js
new file mode 100644
index 0000000000..1ebe4441ed
--- /dev/null
+++ b/Base/home/anon/js/console.js
@@ -0,0 +1,5 @@
+console.log("I am a generic log message");
+console.debug("I am a debug log message");
+console.info("I am an info log message");
+console.warn("I am a warning log message");
+console.error("I am an error log message");