We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

This lesson's interactive features are locked, please to keep using them

Array Length

The .length property returns the current length of an array.

const foods = ["burger", "fries", "pizza"];
console.log(foods.length);
// Prints: 3

Assignment

Textio tracks users who have recently sent messages. Complete the getMostRecentUser function.