Returns the first element of the given array
Optional
the array to inspect
the first element of the given array
getFirst(['foo', 'bar']); // 'foo' Copy
getFirst(['foo', 'bar']); // 'foo'
Returns the first element of the given array