From 9c1821e732f05ad43ad6d8bcf6a21bd86bf249e3 Mon Sep 17 00:00:00 2001 From: Matt Huntington Date: Sun, 21 Aug 2016 18:25:00 -0400 Subject: [PATCH] operations on primatives --- javascript.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/javascript.md b/javascript.md index 8981261..b21ce91 100644 --- a/javascript.md +++ b/javascript.md @@ -12,6 +12,16 @@ true // boolean false // boolean ``` +They can be combined in the usual ways + +```javascript +2+2 +3.2*4 +5/2 +9.6-2 +'first string ' + 'second string.'; +``` + ## Variables Declaring variables is done with the keyword `var`. Variables are dynamically typed (decided during execution) since there is no compilation process.