Write the collection expression that returns an array of just the uppercase titles from a $posts collection.
An API endpoint needs a simple array of uppercase post titles.
Ready to try it?
Create a free account and subscribe to take "Transform a Collection With map()". Earn 90 XP and track your internship progress.
Already have an account? Sign in