diff options
author | Adam Brenecki <adam@brenecki.id.au> | 2013-11-05 12:47:58 +1030 |
---|---|---|
committer | Adam Brenecki <adam@brenecki.id.au> | 2013-11-05 12:47:58 +1030 |
commit | 9f0ae279d83a41bec3c9998c5245c46908942873 (patch) | |
tree | fe0971cd2c2ef3579c843f48783d9759e5ac185d /javascript.html.markdown | |
parent | 40f2b2d9d52fb8a497a2aeba2184439bf78e4911 (diff) |
[javascript/en] Enforce 80-char line width
Diffstat (limited to 'javascript.html.markdown')
-rw-r--r-- | javascript.html.markdown | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/javascript.html.markdown b/javascript.html.markdown index 2d665e67..b6d4c8b7 100644 --- a/javascript.html.markdown +++ b/javascript.html.markdown @@ -107,10 +107,10 @@ false; // There's also null and undefined null; // used to indicate a deliberate non-value -undefined; // used to indicate a value is not currently present (although undefined - // is actually a value itself) +undefined; // used to indicate a value is not currently present (although + // undefined is actually a value itself) -// false, null, undefined, NaN, 0 and "" are falsy, and everything else is truthy. +// false, null, undefined, NaN, 0 and "" are falsy; everything else is truthy. // Note that 0 is falsy and "0" is truthy, even though 0 == "0". /////////////////////////////////// @@ -306,8 +306,8 @@ myObj.myOtherFunc = myOtherFunc; myObj.myOtherFunc(); // = "HELLO WORLD!" // When you call a function with the new keyword, a new object is created, and -// made available to the function via the this keyword. Functions designed to be called -// like that are called constructors. +// made available to the function via the this keyword. Functions designed to be +// called like that are called constructors. var MyConstructor = function(){ this.myNumber = 5; |