From 5a575c2429db8773fa3ee9cfe90c04795994eb9e Mon Sep 17 00:00:00 2001 From: SufiyanSamnani <43895119+SufiyanSamnani@users.noreply.github.com> Date: Wed, 24 Oct 2018 13:52:01 -0700 Subject: [PATCH] Corrected grammar and typos (#28105) --- guide/english/javascript/output/index.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/guide/english/javascript/output/index.md b/guide/english/javascript/output/index.md index 4f2305ca33c..7b8654b360a 100644 --- a/guide/english/javascript/output/index.md +++ b/guide/english/javascript/output/index.md @@ -3,10 +3,10 @@ title: Output --- ## Output -There are 4 most common ways you will be outputting your data through console. These will be used the most part of your development process. +There are 4 common ways in which data can be output to the console. These will be the primarily used output methods as part of your development process. #### `console.log` -It is the most common and used way to output the data. It's a common practice to insert a couple of these between statements to uderstand how the data is flowing and processed. Also, you can use `debugger` or breakpoints in devtools to do the same without polluting your code. +It is the most commonly used way to output the data. It's a common practice to insert a couple of these between statements to uderstand how the data is flowing and processed. Also, you can use `debugger` or breakpoints in devtools to do the same without polluting your code. ```javascript var numbers = [ 1, 2, 3, 4, 5, 6, 7]; @@ -16,7 +16,7 @@ numbers.forEach(function(number){ ``` #### `console.warn` -As you guessed by the name this is used for showing warnings, and it's typical yellow color differentiates it from error red & `console.log`. +As you guessed by the name this is used for showing warnings, and it's typical yellow color differentiates it from an error's red text & `console.log`. ```javascript function isAdult(age){ @@ -30,7 +30,7 @@ function isAdult(age){ #### `console.error` -As you can guess, this is used when throwing an exception or in error in code. Gives you the red error message to grab attention fast. +This is used when throwing an exception or an error. Errors usually show up in red text. #### `console.table`