From 25eeb04e6291e15fedb2c26a2eacb96dc603142a Mon Sep 17 00:00:00 2001 From: Molly Arant Date: Fri, 26 May 2017 11:18:05 -0400 Subject: [PATCH] completed lab --- index.html | 4 ++-- js/script.js | 24 ++++++++++++++++++++++-- 2 files changed, 24 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index ef273b7..55279c3 100755 --- a/index.html +++ b/index.html @@ -20,8 +20,8 @@

Loops Exercises

diff --git a/js/script.js b/js/script.js index c36bf4a..a5a99ab 100755 --- a/js/script.js +++ b/js/script.js @@ -8,6 +8,26 @@ function yourFunctionName (){ function example(){ var v = 3 +4; - + display.innerHTML = v; -} \ No newline at end of file +} + +var letterSet= ["a","b","c"]; +var numberSet= ["1","2","3"]; +var combinedArray=[]; +var unorderedNumbers=["50", "2", "1", "9"]; + +function combineArrays(){ + for(var i=0;i