Commit Graph

70 Commits

Author SHA1 Message Date
Hunter Stevens
db4160710d Remove "feedback", fix link markdown 2015-10-23 13:14:38 -04:00
ven
257533fe5a fix #1726, thanks @fisktech 2015-10-21 23:18:38 +02:00
Sawyer Charles
7fdce9215a Fixed bracket placement 2015-10-19 16:00:22 -05:00
Sawyer Charles
d78518288b removed () 2015-10-19 12:42:23 -05:00
Sawyer Charles
3835cd26f5 [javascript/en] Added setInterval
Added the setInterval function provided by most browsers
2015-10-19 10:54:42 -05:00
Levi Bostian
8656cfe09f Merge pull request #1537 from xtrasmal/patch-1
Updated javascript.html.markdown
2015-10-18 12:00:18 -05:00
Cameron Wood
c23bba2b60 [javascript/en] Small typo fix
Just a simple 1-word typo fix
2015-10-18 05:46:35 -04:00
venegu
53366ebdbe Adding modulo division to JavaScript article 2015-10-17 22:21:25 -04:00
bharathkkb
80bb3a0642 Added backticks for a keyword.
Added backticks for the “this” keyword.
2015-10-16 11:41:52 -07:00
Xander Smalbil
841dcb5f09 Updated javascript.html.markdown
Added some additional information on declaring variables.
2015-10-15 22:38:44 +02:00
Levi Bostian
bd56a72723 Merge pull request #1372 from raphaelbn/patch-1
[javascript/en] Added for/in loop JavaScript
2015-10-09 10:02:12 -05:00
Raphael Nascimento
c3914e277b Added for/in loop JavaScript
Fixing code style
2015-10-08 18:34:03 -03:00
Gabriel Halley
a793d16e37 remove extra whitespace, explain NaN 2015-10-07 22:22:12 -04:00
Raphael Nascimento
f1711ddd4c [javascript/en] Added for/in loop JavaScript
more explanation about for/in java script.
2015-10-06 23:44:30 -03:00
Raphael Nascimento
fe52573118 Update javascript.html.markdown
For/In loop JavaScript
2015-10-06 20:51:47 -03:00
Philip Rowan
87d0c402fb [javascript] Fix for issue 1248
https://github.com/adambard/learnxinyminutes-docs/issues/1248
2015-10-01 18:34:11 -05:00
jasonqu
5e0964e2ee [javascript/zh] Translation tracking 2015-03-06 17:42:44 +08:00
Nimit Kalra
08b0596e45 Add semicolon to maximine consistency.
Added a semicolon to conform with statement at top of guide:

// Because those cases can cause unexpected results, we'll keep on using
// semicolons in this guide.
2015-02-25 10:03:19 -06:00
John Gabriele
e69ca623a7 javascript/en: added some md formatting
Added some markdown formatting to the comments throughout to clarify meaning. Also tweaked a couple of other quote marks as well. Also shortened a couple of long lines.

More to do, but stopped here for now. :)
2015-02-03 17:31:44 -05:00
Adam Bard
aa98391e92 Merge pull request #832 from isomorphisms/patch-5
more oddities
2014-11-12 19:53:49 +02:00
Frederik Ring
9324987c1f use propernotation for decimals 2014-10-30 16:43:49 +01:00
i
3921d11155 more oddities
JavaScript is full of oddities .. I definitely wouldn't claim everything works "as it should" .. you don't have to include the gotcha's but I don't know, they're not that confusing for me.
2014-10-28 03:56:12 -04:00
i
eb43eb7ccd basic arithmetic *doesn't* work
It's not really true that arithmetic is accurate in JavaScript.
2014-10-28 03:11:59 -04:00
Adam Bard
2a6e60d83b Merge pull request #828 from ml242/master
Use === in js tutorial except once demonstrating ==
2014-10-27 19:32:39 +02:00
ml242
fb28f2c102 Your Name: Matt
Subject Line: Addresses Comparisons in Javascript
What Happened:

I believe that starting out with the double equals instead of the triple equals for strict comparison checking is incorrect. Because double equals uses type coercion, it is more of a feature the needs to be understood. Beginners looking at the language should look upon the stricter method as the proper one because it is less likely to give a surprising result.

I also tried to address the behaviour by adding an example to the double equals comparison.

Hope that the community is interested in pulling in these changes, they stem from teaching beginners javaScript but I am by no means the authority.
2014-10-27 00:43:20 -04:00
m90
7cf0bcb828 [javascript/*] typeof is an operand and not a function/method - fix usage / remove parens 2014-08-09 21:41:12 +02:00
Nati
659bc7566f Changed "complimenting" to "complementing". 2014-06-10 16:54:32 -07:00
Ariel
6348a3adde space 2014-03-10 18:08:50 -04:00
Ariel
0590851a64 Added a bit of example code and resources. 2014-03-10 17:23:49 -04:00
Renjith G R
845dc497ad Fix capitalization in the word JavaScript
There were two more other places where JavaScript was written as Javascript.
2014-01-22 11:22:07 +05:30
Renjith G R
08107bef21 Fixed capitalization in the word JavaScript
Changed Javascript to JavaScript in the first paragraph.
2014-01-22 10:52:24 +05:30
Adam Brenecki
c43c033646 Fixed ) { vs ){ inconsistency 2014-01-19 16:10:58 +10:30
Joel Birchler
7927c1bf3a Added call, apply, bind JavaScript examples 2013-12-26 22:50:17 -08:00
cubuspl42
eafeb3b461 typo 2013-12-14 14:44:06 +01:00
cubuspl42
432eb6f53d Note about how declaring functions affects scope. 2013-12-14 14:41:07 +01:00
Adam Brenecki
ec3343839f [javascript] Add notes about ASI. Closes #424. 2013-11-26 18:28:44 +10:30
Adam Brenecki
9f0ae279d8 [javascript/en] Enforce 80-char line width 2013-11-05 12:47:58 +10:30
Steven Senatori
34b0264620 fixing one of my corrections, no idea why I delted the }; on line 333 previously...sorry 2013-11-02 17:30:36 -07:00
Steven Senatori
cba64739f5 Deleted some bad syntax and tweaked an explanation
for clarity
2013-11-02 16:50:29 -07:00
Adam Brenecki
c149c619da [javascript] Added note about ints 2013-10-10 10:52:56 +10:30
Adam Brenecki
9c0e7c548d [javascript] Add bit about array mutability.
Closes #381.
2013-10-10 08:33:39 +10:30
Frederik Ring
a91b4fd300 be consistent with PascalCasing of constructors 2013-10-03 20:02:16 +02:00
Adam Brenecki
750b2a2f21 [javascript] clarify constructor prototype example, as per #204 2013-09-20 19:22:00 +09:30
Adam Brenecki
49b30c38e2 Add missing semicolon 2013-09-20 19:17:10 +09:30
Adam Brenecki
9d1015232c Wrapped setTimeout note to 80 chars 2013-09-13 20:21:14 +09:30
jeroenransijn
3f9ba06563 Note aboute setTimeout 2013-09-11 15:51:21 +02:00
Adam
e546f9cd9c Add file download to javascript.js 2013-09-02 21:33:53 -07:00
Billy Shih
cf90a62a7a Fixed a grammatical error 2013-08-19 15:19:48 -07:00
Adam Brenecki
80f97751a2 [javascript] Add semicolons. Closes #214. 2013-08-15 21:05:27 +09:30
Adam Brenecki
05c3ca9044 [javascript] Remove anonymous function assignment example. ref #215 2013-08-15 20:33:44 +09:30