diff --git a/SpecRunner.html b/SpecRunner.html deleted file mode 100644 index 73c156f..0000000 --- a/SpecRunner.html +++ /dev/null @@ -1,22 +0,0 @@ - - - - - Jasmine Spec Runner v2.8.0 - - - - - - - - - - - - - - - - - diff --git a/index.html b/index.html new file mode 100644 index 0000000..90db24d --- /dev/null +++ b/index.html @@ -0,0 +1,118 @@ + + + + + + + Arrays & Functions + + + + +

Greatest of the two

+ + + +    Maximum: + + +



+ + +

The lengthy word

+

+ Words are = 'George', 'Alice', 'Alex', 'John', 'Infanta', 'Xavior', + 'LourdhAntony' +

+ +    Lengthy Word: + + +



+ + +

Net Price

+

+ Prices = 200, 120, 100, 108, 135, 162, 25, 170, 80, 110 +

+ +    Net Price: + + +



+ + +

Mid Point

+

Array of Numbers (4.1)

+

Levels = 22, 16, 9, 10, 7, 14, 11, 9

+ +    Average: + +

+ +

Array of Strings (4.2)

+

+ Items = 'bread', 'jam', 'milk', 'egg', 'flour', 'oil', 'rice', 'coffee + powder', 'sugar', 'salt' +

+ +    Average WordLength: + + +



+ + +

Unique arrays

+

+ Items = 'bread', 'jam', 'milk', 'egg', 'flour', 'oil', 'rice', 'coffee + powder', 'sugar', 'salt', 'egg', 'flour' +

+ +    Unique Array: + + +



+ + +

Find elements

+

+ Words = 'door', 'window', 'ceiling', 'roof', 'plinth', 'tiles', 'ceiling', + 'flooring' +

+ + +    Element present: + + +



+ + +

Count repeated elements

+

+ Words = 'machine', 'matter', 'subset', 'trouble', 'starting', 'matter', + 'eating', 'matter', 'truth', 'disobedience', 'matter' +

+ +

  Frequencies:

+ + +


+ + +

Product of adjacent numbers

+

+ Matrix = (5x5)
+ [ 1, 2, 3, 4, 5]
+ [ 1, 25, 3, 4, 5]
+ [ 1, 20, 3, 4, 5]
+ [ 1, 20, 3, 4, 5]
+ [ 1, 4, 3, 4, 5]
+

+ +

  Max product:

+ +