fix bug in Array.min

```[0, 1].min()``` yields 1, because the min-function checks if the current minimum value is initialized by using ```!result```. I changed it to compare explicitly with ```undefined```.