Make your JavaScript code more readable by using: - map - filter - reduce

JavaScript

◾️console.warn Outputs a warning message to the Web Console. Our friend when we use many console.logs! :) It usually displays in yellow and shows the trace too.

JavaScript
Browsers

◾️console.trace (non standard) Outputs a stack trace to the Web Console.

JavaScript
Browsers

◾️console.timeLog Logs the current value of a timer that was previously started by calling console.time() to the console.

JavaScript
Browsers

◾️console.time Starts a timer you can use to track how long an operation takes. You give each timer a unique name. When you call console.timeEnd() with the same name, the browser will output the time, in milliseconds, that elapsed since the timer was started.

JavaScript
Browsers

◾️console.profile (non standard) Starts recording a performance profile. Working in Firefox. Apparently not in Chrome?

JavaScript
Browsers

◾️console.memory It seems to be an alias for "performance.memory". Not this is not a method. Won't have (). Gets memory information such as: - jsHeapSizeLimit - totalJSHeapSize - usedJSHeapSize

JavaScript
Browsers

◾️https://t.co/kJfMigKR2b (Firefox only?) The console .info() method outputs an informational message to the Web Console. In Firefox, a small "i" icon is displayed next to these items in the Web Console's log. I can't see any difference in Chrome with console.log. Someone do?

JavaScript
Browsers

◾️group.collapse Creates a new inline group in the Web Console. Unlike https://t.co/PK0vLB62ix(), however, the new group is created collapsed. The user will need to use the disclosure button next to it to expand it, revealing the entries created in the group.

JavaScript
Browsers

◾️console.groupEnd Related with the previous https://t.co/PK0vLB62ix. Exits the current inline group in the Web Console.

JavaScript
Browsers

◾️https://t.co/PK0vLB62ix Creates a new inline group in the Web Console log. This indents following console messages by an additional level, until console.groupEnd() is called. Useful to debug but keep things "clean":

JavaScript
Browsers

◾️console.error You guessed! Outputs an error message to the Web Console. It usually displays in red. Usually contains the trace of the error. Useful to debug.

JavaScript
Browsers

The tweet will be reviewed and posted as soon as possible

{{ newSnippetForm.errors.url[0] }}

{{ newSnippetForm.errors.categories[0] }}