-
Notifications
You must be signed in to change notification settings - Fork 16
/
build_arrays.js
132 lines (61 loc) · 2.88 KB
/
build_arrays.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
/*
* LEVEL 1 - Standard Arrays
**/
// Create an empty array.
// Create an array of the colors of the rainbow.
// Create an array of gems.
// Create an array of military ranks.
// Create an array of road signs.
// Create an array containing components of a tree.
// Create an array of prime numbers less than 20.
// Create an array of words programmers typically say while programming.
// Create an array of elements of the periodic table.
// Create an array representing the coins currently in your pocket.
// Create an array of items you bring to class daily.
// Create an array of web developer role titles.
// Create an array of good luck charms.
// Create an array of mythical animals.
// Create an array of drinks.
// Create an array of emoticons.
// Create an array with the letters of the word 'array'.
/*
* LEVEL 2 - Object Arrays
**/
// Create an array of Objects that represent Famous People.
// Each Object should have a Name, Age, and their Profession as properties
// Create an array of songs you'd like Jon to add to the playlist of music
// to listen to in class. Each song should be an object with at least
// a title and an artist.
// Create an array of functions. Define any functions you want, they can
// be anything! But make sure the syntax is correct :D
// Create an array of Sublime shortcuts. Each item should have a keystroke
// combination and a textual description of what the key combination does.
// You can find Sublime Text Shortcuts by traversing the Sublime Text's GUI
// e.g. File Menu options.
/*
* LEVEL 3 - Nested Arrays
**/
// Create an array of gem arrays, where each gem array contains gems that
// are of a similar color.
// Create an array of aisles at a supermarket. Each aisle is an array of
// items you might find in an aisle together. (e.g. flour and baking
// powder would be found in an aisle together so would Apples and Bananas.)
// Create an array of three arrays, each array having numbers that add up
// to 15, but having no element listed more than once in any array.
// e.g. each element can only be in one array, and at most once in each array
/*
* LEVEL 4 -
**/
// Create an array with three elements, each consisting of a single
// character: single quotes, double quotes, and a comma.
// Create an array of 1000 elements.
// (Contents do not matter, it just needs to have 1000 elements.)
// Create an array of three elements.
// The first and second elements should not be equal, the second and
// third elements should not be equal, but the first and third elements
// should be equal.
// Create an array of at least five elements where each element is equal
// to the elements adjacent to it.
// Create an array of at least five reserved Javascript keywords.
// Create an array of an array of an array of an array of an array of an
// array containing a single element: the number 42.