Commit Graph

168 Commits (ca23bb47e20c07190a72a5d6b8f37c826b4a903f)

Author SHA1 Message Date
haftav f247b6a19a Wording update (#28125) 2018-12-08 12:51:07 -07:00
githrdw 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
Eric Jae-Min Joo 6aa8aeda72 Add a greater detailed explanation of the Javascript example that is used. (#23787) 2018-12-07 03:47:43 -05:00
Prabesh Subedi e35833b77a Update index.md (#24281) 2018-12-07 03:28:58 -05:00
Oğuzcan Yavuz 172ec835d7 Add example for destructuring nested objects (#24133)
Also changed styling to be more consistent
2018-12-06 20:27:24 -05:00
vedanthv 94ef3d5ea5 added external reference (#24119) 2018-12-06 18:02:42 -05:00
jasonranney 16d7fed408 corrected "JavaScript" capitalization (#25548) 2018-12-07 02:58:50 +05:30
Manas Khurana 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
kViking 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
Eric Jae-Min Joo 9621e372d0 Add proper indentation to example code (#23794) 2018-11-30 07:21:49 -05:00
Eric Jae-Min Joo 521138726b Fix example comment spacings (#23792) 2018-11-30 07:17:42 -05:00
kenyalenae 6911482f5b Added website to Tutorials section (#22865)
Added link under Tutorials section for the GeeksforGeeks.org JavaScript Tutorials page which includes lots of helpful information on JavaScript.
2018-11-28 10:34:02 -08:00
Rayon abcf76fd7d Added polyfill (#25130)
Added polyfill for legacy browsers
2018-11-28 22:12:53 +05:30
Edy Ionescu b7d4fd7349 Add the JavaScript exponentiation operator (#25180) 2018-11-28 19:58:10 +05:30
Rayon 43568de1a6 Fixed a bug (#25139)
There was no event argument passed but used one which was causing error. Passed event argument from `DOM`.
2018-11-28 19:57:09 +05:30
Roenz Aberin 0aa803ac34 Removed an extra "is a" on line 8 (#23814) 2018-11-27 21:01:55 -05:00
JMVL64 dd666ddd01 Added some details and changed scripting into programming (#22767)
I have added an extra link for people who do not understand frameworks, also I have been more consistent with describing JS as a programming language.
2018-11-28 01:00:15 +00:00
JMVL64 71177b5465 Added warning for infinite while statements (#22805) 2018-11-27 18:25:55 +09:00
Edy Ionescu d46dc349f1 Arrow functions don't have a `prototype` property (#25198) 2018-11-26 21:33:29 +05:30
adrianchavez123 2b265e3404 Add example of arrow function with no brackets (#23557)
* Add example of arrow function with no brackets

Add an example of the shorter option of an arrow function

* Fixed typo
2018-11-26 03:20:59 -05:00
kcrabtree a4742d8a76 Added helpful tips about comment usage (#21168) 2018-11-26 00:15:27 -05:00
msabitabrata fc58c39489 Update in index.md (#23025)
Incorporate Asynchronous server side calls inside loops
2018-11-25 18:03:40 -08:00
Szymon Woźny 6814ad7f67 change var to const and let (#23151)
* change var to const and let

* fix: output
2018-11-24 14:41:42 +07:00
kViking 7d226d0078 Added variable addition example (#23047)
Added an example showing storing values in variables before adding them. Also added syntax highlighting to original code snippet.
2018-11-24 14:30:12 +07:00
wheat779 ab617a762a Update index.md (#26286)
Improved IDE shortcut section by including linux and reworking list and made shortcuts clearer by using <kbd> for buttons
2018-11-23 21:07:04 +05:30
Pixelposh a9f4f11a77 Added definitions to parameters (#22818)
* Added definitions to parameters

* Add formatting
2018-11-23 00:04:20 +07:00
kViking 4dc1535d86 Whitespace formatting (#23083)
Added/fixed whitespace. I'm just trying to get a t-shirt, man
2018-11-22 02:32:35 -05:00
DC adad522465 Formatting examples, added example based on note (#21186)
would like some feedback on my extra example :)
2018-11-21 08:26:07 -05:00
Adewale Orotayo 26c4b20a9b Add "Second example of Const" to article (#22727)
* Add "Second example of Const" to article

Describing const also to be scoped i.e, accessible in the block where it was defined  can be added to the article

* Reordered changes and fixed formatting
2018-11-20 18:46:06 -05:00
CharlesMarlow 64ab5c78f6 Added framework to Javascript frameworks section (#22637)
Vue.js was added on line 34 as one of the prominent front-end frameworks for Javascript.
2018-11-20 18:35:31 -05:00
JiDarwish c29445ca5e Added ternary operator (#22234)
* Added ternary operator

* Update index.md
2018-11-21 00:47:00 +07:00
Adenle Abiodun df435ccebf UPDATES: Electron added, disadvantage added (#21678) 2018-11-19 14:46:10 +09:00
Ashish Patel 89724aa612 Added new line between questions and answers (#22273) 2018-11-18 19:29:07 -07:00
Carl 94dfdb4019 Added description to JavaScript Frameworks in index.md (#22144)
* Added description to JavaScript Frameworks

I added an extended description to the JavaScript Frameworks subheading to explain what they are.

* spacing and capitalization
2018-11-18 18:27:47 -07:00
Purposeful Programming 25884ade58 Add apostrophe to "let's" (#23761) 2018-11-18 19:50:06 +05:30
Adhiraj dab81b7da9 added Youtube link in line 15 with a bit of intro (#22263) 2018-11-18 07:12:48 -06:00
Rachel Krupnick 06e46f188d Fix typo and add to description. (#23313) 2018-11-17 03:14:20 -05:00
ashrewsb 7b1e86bcac Added wiki article hyperlink to PHP. (#23224) 2018-11-17 00:52:05 -05:00
Aerohob d883528f0a Updated Atom description (#24457)
Atom is an open source text editor made by GitHub. It features embedded Git Control and numerous customization options.
2018-11-17 11:03:37 +05:30
Aerohob 452f5a180c Added a description to Brackets (#24444)
A text editor made with web designers and front-end developers in mind. Features include: inline editing, live preview, and preprocessor support.
2018-11-17 11:01:36 +05:30
Aerohob 7ce4be9d1f Added a description to Sublime Text (#24453)
Sublime Text is a cross-platform editor featuring a Python API. Free to download and evaluate, but requires a license for continued use.
2018-11-17 11:00:17 +05:30
Szymon Woźny 8d09956713 Add space after dot (#23137) 2018-11-17 00:17:55 -05:00
Eme-rald ceaa347264 Explained why you may want to comment code out. (#21204)
* Explained why you may want to comment code out.

* Update index.md
2018-11-16 12:14:26 -05:00
Alex Busch fda88b8084 Added Javascript 30 Resource (#22683)
* Added Javascript 30 Resource

* Fixed grammar
2018-11-16 04:41:39 -05:00
Eve Mendelevich 9b51c70d45 Add line break (#23064)
Added a line break between the last section's title and its content.
2018-11-14 23:19:06 -05:00
faisal sayed 31f7b87854 Update index.md (#24529) 2018-11-14 21:15:23 +05:30
Manas Khurana 6d583eb8f1 Add missing terminators + other corrections (#23502)
* Add missing terminators + other corrections

Missing terminators were added and for loop formatting was corrected. Even though terminators are optional, they can often confuse beginners. Also, a typo and a grammatical error was corrected.

* fix: formatting
2018-11-14 20:57:23 +05:30
Tansica Sun 92cb04434f Clarified + in addition and concatenation (#21433)
Distinguished `+` function (arithmetic versus concatenation) when dealing with different data types (number versus string).
2018-11-13 21:13:34 -07:00
samfultonschool 87e38c2161 Added created by and when (#21584)
Added that Brendan Eich created JS in may of 1995.
2018-11-13 23:47:17 +00:00
Krishna Vishwakarma fe00a8f959 Add 'index.md' for Every Function in javascript (#27682)
* Add 'index.md' for Every Function in javascript

* Changed File name to 'every-function'

* fix: corrected frontmatter
2018-11-13 12:44:51 -08:00
Abdul Ghaffar 711d77dddf add babel link to 'Quick JavaScript' (#21343) 2018-11-12 20:22:36 +09:00
lau626 a2ed0103ec Unwanted underscores in search result and incorrect URL - fixing #24573 (#28441)
* fixing #24573

fixing #24573 - Guide: Let and Const - Unwanted underscores in search result and incorrect URL

- changed underscore to hyphen, same problem was also happening with arrow_functions

https://github.com/freeCodeCamp/freeCodeCamp/issues/24573

* fix: added 3 backticks for code sections
2018-11-11 23:47:08 -08:00
kViking dc8049df43 Minor typo fix (#23059) 2018-11-12 07:55:32 +05:30
Danny Kirschner 9078a50a70 fix: adding formatting and more info on truthy (#21158)
Adding markdown formatting for sections and more information on truthy. Also attempting to mirror how the falsy article is organized.

Moving the conditional example from the bottom to the top of the file.
2018-11-11 19:11:27 -05:00
factotumMeister 79e96d0c7b fixed examples (#21527)
made changes to examples to be more javascript standard
2018-11-10 21:57:52 +00:00
Abdul Ghaffar 849277da75 add javaScript resource (#21277)
added 'learn X in Y minutes (X = JavaScript)' link.
2018-11-10 08:55:25 -07:00
Vishesh 4959c4c111 Fat Arrows do not work well with arguments example (#20595)
* Fat Arrows do not work well with arguments example

* added clarity
2018-11-08 18:32:09 -07:00
samfultonschool f2a16f5240 Added Timestamp Fact (#21248)
Added timestamp fact about what it is and when it will end.
2018-11-08 11:21:27 +00:00
Andrew James 47cb043dd2 Clarified the definition for the `false` return (#22134)
Updated to clarify 'false' is returned if "none" of the elements met the condition, instead of "any".

Also edited the last sentence a little.
2018-11-07 17:34:41 -05:00
Danny Kirschner c7ccd4c64b Adding another way to check falsey boolean values (#21129)
Checking using !! to get the boolean value may be easier than setting up a conditional.

Also linking to the truthy freeCodeCamp guide.
2018-11-07 18:38:56 +00:00
S.Hale 3920b7c4ce Corrected capitalization, corrected to American spellings and typos (#30685)
* Translate challenge subtitles and example challenge text to Spanish

* Corrected errors in syntax and punctuation

* Multiple corrections of it/s to its plus other grammar corrections

* Correction and added paragraph to CSS Flex article

* Corrected my own typo

* Corrected capitalization, American spellings and typos
2018-11-07 10:34:13 -05:00
Charlie van Rantwijk a5175d125a add further reading section to bottom (#22043)
* add further reading section to bottom

* Reformatted to use "More Information"
2018-11-07 01:01:17 -05:00
Kevin Collins 3f6efeef00 Clarified behavior of reduce() and the initialValue argument. (#21000) 2018-11-06 00:30:25 +00:00
absentMindedDeveloper 7530f98750 Numbers within strings (#20969)
* Numbers within strings

Added a short entry on how numbers function inside of strings as well as how to convert a number inside of a string into a number which you can perform operations on in a normal fashion.

* Change a string in the example to a number
2018-11-06 06:03:52 +07:00
kViking f6e71ede55 Add new formatting example (#20937)
Illustrates common multiple line formatting for chained ternary operators
2018-11-06 05:46:18 +07:00
adrianchavez123 947e827cd4 Update index.md (#24610)
* Update index.md

More Information section was empty, a link to MDN Docs was added.

* corrected added link syntax
2018-11-04 15:15:04 -08:00
adrianchavez123 db1d633fe5 Update index.md (#24596)
Fix typo in Spread Operator document, and an example of copy an array was added.
2018-11-04 15:14:41 -08:00
Jason White 9e0109dbba Minor grammatical fix (#21399) 2018-11-04 07:05:18 -05:00
Jessica Swift caf1d845b8 A few grammer fixes (#20772)
Just removed a few 'ands' and a run on sentence.
2018-11-04 06:47:35 +05:30
Dana Ottaviani 892ec7f81b Add "modulo" name in remainder section (#20624)
* Update index.md

I refer to it as "modulus" so I thought it would be best to add another name for it.

* markdownize links

add modulus to to sentence on 75
2018-11-03 18:19:20 +05:30
Nicolas Ramirez d7ab835589 Added file to guide: Javascript - standard objects - String fromCodePoint (#31787)
* Added file to guide: Javascript - standard objects - String fromCodePoint

* String-fromcodepoint Guide File: Added title and changed layout order, description first.
2018-11-03 00:12:40 +05:30
Andy Butler 245a5bd06f Corrected typos and added clarifying language (#20743) 2018-11-02 07:47:07 -07:00
CGS-Jack-Bashford fc1c2f4a12 Added comparison to regular if-else statement (#20756) 2018-11-02 21:20:08 +07:00
ggbong734 47e5abdf94 Minor typo: Changed "Javasctipt" to "Javascript " on line 35 (#20836) 2018-11-02 03:56:32 -04:00
Nikhil Vijayan 3a6594f1fb Added a few new points to the Linting guide (#34146)
Added a description of how linters can help using a helpful response from https://stackoverflow.com/questions/8503559/what-is-linting
2018-11-02 10:21:24 +05:30
Neetish Raj 1023a46311 added destructuring for rest parameters and formal parameters (#20759) 2018-11-01 22:31:24 -04:00
Ha Anh Nguyen 2e92a63a69 Add example to concisely return object (#20707)
* Add example to concisely return object

This trick to directly and concisely return object might be useful for beginners

* Change function name and logic

Change function name and logic to make sense
2018-11-01 05:02:04 -04:00
BrianB123 746925eb4b Add JavaScript Links (#32373)
Added 3 JavaScript Links
2018-10-31 18:47:37 -05:00
Ian McCormack d556afc039 Specify forbidden use in ECMAScript 5 (#31483) 2018-10-31 16:52:41 -04:00
Jadon Orr 7c20508efe Grammatical, style, and confusing example changes (#31490) 2018-10-31 11:28:21 -04:00
Cameron Burkholder 2e0ac268d9 Revision of JavaScript classes guide (#20357)
* Revision of JavaScript classes guide

General fixes in grammar, consistency, and sentence phrasing.

* Fix indentation and highlight keyword 'class'
2018-10-31 22:20:48 +07:00
Yusuf Mohammed Delvi 4a48031353 Add MDN docs link (#29253)
* Add MDN docs link

* Update index.md
2018-10-31 13:12:56 +05:30
Nnubia Ogbuefi 0c09b7467b grammatical corrections (#31476) 2018-10-31 00:05:30 +00:00
Benjamin Benkert a4fe23e912 Fix typo line 49 (#23511) 2018-10-30 23:13:10 +05:30
joaquin fox b1b9014b52 Grammatical edit (#19906) 2018-10-29 15:20:29 -04:00
zweifish 4225f20c91 Add clairfication on NaN (#21032)
(am I doing this right?)
2018-10-29 13:59:02 -04:00
Vishesh 8f96524c36 Added third way of commenting with JSDoc style (#20353) 2018-10-29 10:30:37 -05:00
Derek Williams b86d21a756 Added 'JavaScript & jQuery' (#20209)
This book is great for an absolute beginner by Jon Duckett
2018-10-28 09:45:34 -07:00
meanmegajean 66b24ff131 Add the text "Here is an example:" to article (#20071) 2018-10-27 13:11:23 -07:00
joaquin fox e1d4cb1e11 Make nouns plural in keeping with 'world objects' (#19825)
* Make nouns plural in keeping with 'world objects'

Sentence subject 'real world objects' is plural, so noun derivatives should be plural as well.

* Grammar and readability edits.
2018-10-27 15:00:48 -04:00
Cameron Burkholder 5dd5038105 Fix inappropriate sentence punctuation (#20286)
Replaced the hyphen in the introductory sentence with a colon. The hyphen likely intended to function as an m-dash (---) break.
2018-10-28 01:42:49 +07:00
meanmegajean e075b7daba Adding two commas to sentence (#20077) 2018-10-27 09:38:38 -07:00
Chris Bassey 5d5d865e72 removed the from DI (#28900)
removed "The" from "what is Dependency Injection".
(minor grammatical improvement to  guide/english/javascript/angularjs-interview-questions/index.md)
2018-10-26 08:30:21 -06:00
myYearOfCode e172adfb9b fix stray paren on increment and decrement (#21036)
made the hints for increment and decrement clearer than they previously were.
2018-10-25 10:23:32 -04:00
Jacobmpp d3f022fbf9 added reference to nested blocks (#25659) 2018-10-25 09:57:51 -04:00
Jacobmpp cff8f52f06 Added function representations to the code (#25668) 2018-10-25 09:19:49 -04:00
Konrad Hyzy 7721bf68b3 Sentences made more formal (#28109) 2018-10-24 21:52:59 +01:00
SufiyanSamnani 5a575c2429 Corrected grammar and typos (#28105) 2018-10-24 21:52:01 +01:00
haftav 41e7242c16 Grammar fix (#28149) 2018-10-24 21:35:51 +01:00
Michael Wright 80351b2c92 Major Tidy Up of Page (#27247)
* Edited all links into Markdown format so they conform to Style Guidelines.
* Organized categories into a more logical order and edited names if needed.
* Removed/updated dead links.
* Moved un-categorized links into categories and others into correct category.
* Removed links from Books category that only led to a purchase page.
2018-10-25 00:20:52 +05:30