Essential JavaScript

Going Further

Biggest Animal Kata

Given an array of animal objects that all have a name and size property, return the name of the animal with the greatest size.

The size of each animal will be an integer greater than zero.

There will never be a tie - you can trust that all animals in the array will have unique sizes.

Code Editor

Click "Run Tests" to execute your function and see the test results below.

Test Results

Run your code to see test results

Console Output

// Console output will appear here...

0 output lines