Commit Graph

159 Commits

Author SHA1 Message Date
cafbe33cc7 mild proofreading edits (#29854)
removed repeated words and unnecessary punctuation
2019-02-16 10:41:49 -07:00
7bd476c232 add code snippet: logical operator (#29842)
add code snippet for logical operator short-circuit evaluation
2019-02-16 10:02:27 -07:00
Tom
25a6f0441f Update javascript comments guide [english] (#33456)
convert links + lists to markdown
remove redundant information
make it more readable
2019-02-15 13:33:20 +03:00
7705e1a805 fix: syntax update (#26895) 2019-02-13 04:31:16 -05:00
86b8cee810 Replace Github with GitHub (#34971) 2019-02-12 00:46:34 -08:00
2e11dcb1ea Add mdn link for map function (#29883)
Add resources section and include mdn link for map function
2019-02-09 15:02:26 -08:00
08390807c8 Improved clarity of template literals (#29658)
* Improved clarity of template literals
2019-02-07 14:01:59 +01:00
158b27c715 Update example explanation in detail (#29643)
* Update example explanation in detail

* Update index.md
2019-01-30 15:13:16 -08:00
7ea103fbfc Extra bracket removed in syntax section (#27705) 2019-01-30 14:25:04 -08:00
d12af36794 Create chart.js (#26904)
* Create chart.js

* Rename guide/english/javascript/chart.js to guide/english/javascript/chart-js/index.md

* fix: added frontmatter
2019-01-30 13:26:23 -08:00
fcd4182e68 Added Reduce and structure changes (#26760)
Added the Reduce function with example also gave headings to Map and Filter
2019-01-28 21:22:17 -05:00
e1be160a65 further explanation (#27620) 2019-01-17 12:02:35 -06:00
c5c1d44bf5 Include definition of \W (#31143) 2019-01-17 11:41:32 -06:00
5cf8d966bd grammatical edits for readability (#27617) 2019-01-17 11:39:56 -06:00
52c61df1f8 grammatical edits for readability (#27623) 2019-01-17 11:20:50 -06:00
10a789e2b8 Grammatical changes to help with readability (#27453)
Changed "this much must be already known to you" to " You should already know this much".
2019-01-17 11:19:42 -06:00
05cea67127 grammar edits for readability (#27610) 2019-01-17 10:47:12 -06:00
d8924e4600 Addition of interview preparation resources (#26694) 2019-01-10 20:46:02 -05:00
73087fb8f6 Changed wording and fixed grammatical errors in Advantages and Disadvantages of JavaScript tutorial (#26528)
* Fixed wording in JavaScript tutorial

Advantages and Disadvantages of JavaScript introduction

* Updated wording in JavaScript tutorial
2019-01-06 12:51:21 -05:00
c3ec8babfc Organize to make function categories titles (#26391)
Make each function category a title to organize the article, rather than making them list elements.
2019-01-05 15:33:30 -05:00
0af37ec6c4 Minor spelling and grammar fixes (#27488) 2018-12-28 10:30:45 -07:00
89cab36423 Update index.md (#27120)
Added a sentence about ES6.
2018-12-28 10:08:29 -07:00
b2ab72cb0b change var to let (#23172)
change var to let
2018-12-23 15:04:10 +07:00
098c17674f Additional resources. (#26224) 2018-12-21 07:57:59 -05:00
e1e1f1cabb Add the text "x = true; console.log(type of x) // boolean ``` From t… (#26111)
* Add the text "x = true; console.log(type of x) // boolean ```  From the last example above, The `typeof` operator returns a boolean that represents the current type of a variable; x which is of value `true`."

* Revert extra sentence
2018-12-21 05:09:38 -05:00
4606509d9c fix: update JavaScript string.prototype.trimleft article from stub (#25981)
* fix: update JavaScript string.prototype.trimleft article from stub

* Removed extra characer
2018-12-21 04:56:03 -05:00
14b29da497 Add the text "In addition to the break statement which opts out of th… (#26063)
* Add the text "In addition to the break statement which opts out of the iteration when the condition is false is the continue statement. The `continue` statement skips the condition when the code is true, continues up until the condition is false.  Using the above example again, let's see the functionality of the `continue` statement   ```javascript for (var elephant = 1; elephant < 10; elephant+=2) {     if (elephant === 7) {         continue;     }     console.info('elephant is ' + elephant); }  output: elephant is 1 elephant is 3 elephant is 5 elephant is 9 ```" to article

* Improved sentence structure
2018-12-21 03:31:23 -05:00
c698ff4e3b semicolon on line 53 (#27709) 2018-12-20 19:14:25 -08:00
8df55d5296 Wrote about operators and fixed a faulty example (#23950) 2018-12-20 19:04:58 -08:00
643fa813c3 Fixed capitalization and added description (#25585)
Fixed "WebStorm" capitalization and added a description for the Brackets text editor.
2018-12-20 20:42:23 -05:00
13f019eaa4 Grammatical fix on line 1 (#26601)
Fixed sentence #2 under ##Output by adding "for"
2018-12-20 16:54:45 -08:00
773aae4fdc if-else definition made more clear to avoid confusion (#25449) 2018-12-20 06:30:51 -05:00
375e702b57 Update let (#24190)
* Update index.md

* Formatting changes
2018-12-19 02:20:01 -05:00
756bd19b35 Added further reading link, as there are many console methods available (#25351)
* Updated index.md

* Added noopener noreferrer for external link

* Fix a tag
2018-12-18 23:42:31 -05:00
2e806b4e15 Fixed typo - line 7 (#30416)
* Fixed typo - line 7

Changed "Booleans are a primitive datatype" to "Boolean is a primitive datatype"
Boolean is singular. It is a datatype.

* Update index.md
2018-12-16 19:33:42 -08:00
ae5d0e87e6 Added an "a" on line 56 (#29198) 2018-12-16 19:20:31 -08:00
2b03647e1e fixed typo "datetype" to "data type" (#27384) 2018-12-16 19:18:50 -08:00
6f8b6a82ed Added some suggestions (#25092)
* Added some suggestions

Better practices about using Ternary.

* Reworded statement, grammar fix
2018-12-15 06:18:08 -05:00
fbf9524363 Added and removed spaces. (#24759) 2018-12-13 21:45:35 -05:00
e3eeafb601 Update wording of prevent default description (#24706) 2018-12-13 06:29:00 -05:00
fab4d1401e Improved wording (#24225) 2018-12-09 18:57:40 -05:00
f247b6a19a Wording update (#28125) 2018-12-08 12:51:07 -07:00
6977db2170 Added console.warn and console.group (#24325)
I have added console.warn and console.group functions
2018-12-07 04:53:06 -05:00
6aa8aeda72 Add a greater detailed explanation of the Javascript example that is used. (#23787) 2018-12-07 03:47:43 -05:00
e35833b77a Update index.md (#24281) 2018-12-07 03:28:58 -05:00
172ec835d7 Add example for destructuring nested objects (#24133)
Also changed styling to be more consistent
2018-12-06 20:27:24 -05:00
94ef3d5ea5 added external reference (#24119) 2018-12-06 18:02:42 -05:00
16d7fed408 corrected "JavaScript" capitalization (#25548) 2018-12-07 02:58:50 +05:30
f09eb76794 Remove redundant text + common names + change ambiguous text (#23564)
1. Running functions using ternary already has another portion to itself. So, the description before it is repetition of the same thing, hence redundant.
2. The warning for using the operator sparingly is mentioned twice, hence it is also redundant code
3. In multiple places, terms that have specific meaning in programming languages are used which can cause ambiguity in the mind of the reader.
4. Ternary operator is also often referred to as the conditional operator, which was missing here.
2018-12-05 07:26:56 -06:00
f09e84ff14 Fixed code formatting (#23068)
Added curly brackets where they had been left out of the code snippets. Also fixed two grammatical errors on line 52
2018-12-02 03:17:12 +07:00