From 242c159a8719ae076e920b4220f8aac425ef74c3 Mon Sep 17 00:00:00 2001 From: Matt Huntington Date: Sun, 21 Aug 2016 15:24:25 -0400 Subject: [PATCH] primitives for js --- javascript.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/javascript.md b/javascript.md index 783bf6e..85f0ab3 100644 --- a/javascript.md +++ b/javascript.md @@ -1,6 +1,24 @@ # Javascript Fundamentals Review ## Primative Data Types + +Javascript has several basic data types: + +```Javascript +'this is a string' // string (text) +123 // number (int) +1.2 // number (float) +true // boolean +false // boolean +[1,2,3] // object (array) +{ + prop1: 'value1', + prop2: 'value1' +} // object +null // object (null) +undefined // undefined +``` + ## Variables ## Functions and Scope ## Objects/Arrays