✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
What is the value of topPriority?
const errands = ['Go to the bank', 'Pick up dry cleaning', 'Go grocery shopping'];
const topPriority = errands.indexOf('Pick up dry cleaning');