$ ./guess_the_languageProblem Solving — fill the blank
Problem Solving — fill the blank · easy · #92

What goes in the blank?

// returns the length of the array arr
function size(arr) {
  return arr.____;
}

Answer: length (also accepted: length, length())

JavaScript arrays expose their size via the length property.
Play Problem Solving ▸