Added function Arrays.filterUndefined