1 point: Write a statement to create an untyped object and assign
it to the variable a.
a = {};
1 point: Set the name property of your untyped object to
'Brad'.
a.name = 'Brad';
3 points: Write a function that takes an array of numbers
as a parameter and returns its minimum value. You may either use
the sort function with an appropriate comparision function or you
may search the array. You may assume that the array has at least one
element.
function min(num_array) {
min = num_array[0];
for (i in num_array) {
if (num_array[i] < min)
min = num_array[i];
}
return min
}