Preview:
// Setup
$post_objects = get_field('acf_post_object_field');
$slug_array = array();

// Loop
if($post_objects) {
  foreach($post_objects as $post_object):
  
  	// Get slug and place into the array
  	$slug_array[] = $post_object->post_name;
  
  endforeach;
}

// Echo
<?= implode(' ', $slug_array); ?>
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter