Problem

Return the number of elements in an int array (use .length only).

Examples

  • arrayLength([1, 2, 3]) -> 3
  • arrayLength([]) -> 0
Compile and test (Ctrl+Enter)