Laravel quiz · 27 questions

Collections

Read the code

What does this return?


collect([1, 2, 3])->map(fn ($n) => $n * 10)->sum();
  • 1–3 answer
  • ← previous
Question 4 of 2711%