summaryrefslogtreecommitdiffhomepage
path: root/javascript.html.markdown
diff options
context:
space:
mode:
authorjmaud <maudlin.johnathan@gmail.com>2014-10-31 15:55:35 -0400
committerjmaud <maudlin.johnathan@gmail.com>2014-10-31 15:55:35 -0400
commit44ce611cc1faffbcf922200672a6715c8872615b (patch)
treeb6d7ee2abc5ddd845313a8e14da1d35f6bcfd0b8 /javascript.html.markdown
parent259c144eeb7b349a00891eb7bfa26ed564dfe580 (diff)
parentcd7a2e72d5850974ecd330004f3546adfbd4fe75 (diff)
Merge branch 'master' of github.com:adambard/learnxinyminutes-docs
Merge from upstream
Diffstat (limited to 'javascript.html.markdown')
-rw-r--r--javascript.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/javascript.html.markdown b/javascript.html.markdown
index 792cab98..a92dcb4a 100644
--- a/javascript.html.markdown
+++ b/javascript.html.markdown
@@ -46,7 +46,7 @@ doStuff()
// Some basic arithmetic works as you'd expect.
1 + 1; // = 2
-.1 + .2; // = 0.30000000000000004
+0.1 + 0.2; // = 0.30000000000000004
8 - 1; // = 7
10 * 2; // = 20
35 / 5; // = 7