Magmic Interview Question

Give code to remove every second element from an array