From f1ac3ae1c997f711572e7c8c366b4fa9b8675d56 Mon Sep 17 00:00:00 2001 From: Priya Ranjan Dubey Date: Tue, 30 Oct 2018 00:44:46 +0530 Subject: [PATCH] Added debug() and clear() methods --- console.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/console.js b/console.js index d381020..1d0ecdc 100644 --- a/console.js +++ b/console.js @@ -99,4 +99,10 @@ console.count("This was called so many times") console.assert(false, "This is an error!") // View all the properties of a specified JavaScript objec (ex: DOM object) -console.dir(document) \ No newline at end of file +console.dir(document) + +// Debugging +console.debug("This is debug!"); + +// Clear the console +console.clear();