From 325ecf20a02655643c22e9692d697d258211814e Mon Sep 17 00:00:00 2001 From: DrJonOsterman Date: Sat, 29 Jun 2013 08:46:34 -0400 Subject: comment syntax fix --- javascript.html.markdown | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'javascript.html.markdown') diff --git a/javascript.html.markdown b/javascript.html.markdown index 1565f541..c3bf131c 100644 --- a/javascript.html.markdown +++ b/javascript.html.markdown @@ -42,7 +42,7 @@ doStuff() 35 / 5 // = 7 // Uneven division works how you'd expect, too. -5 / 2 # = 2.5 +5 / 2 // = 2.5 // Enforce precedence with parentheses (1 + 3) * 2 // = 8 @@ -68,10 +68,10 @@ false 2 != 1 // = true // More comparisons -1 < 10 #=> True -1 > 10 #=> False -2 <= 2 #=> True -2 >= 2 #=> True +1 < 10 // => True +1 > 10 // => False +2 <= 2 // => True +2 >= 2 // => True // Strings are concatenated with + "Hello " + "world!" // = "Hello world!" -- cgit v1.2.3