SmartOps interview question

* 1- Write a function called "f1" that takes the array "array1" and return an array like "array2" (return type: { number: number, type: string }[]) * 2- Write a function called "f2" that takes the array "array2" as an argument and deletes the field "type" (return type: void) * 3- Write a function called "f3" that takes the array "array2" and returns the first odd (impair) number (return type: number) * 4- Write a function called "f4" that takes the array "array2" and returns a new array that contains only even (pair) numbers (return type: number[])