Problem

Return first element of non-empty arr.

Examples

  • arrayFirst([9, 8]) -> 9
Compile and test (Ctrl+Enter)