<html>
<head>
<body>
 
<script>
	var fruits = ['apple', 'cherry', 'pineapple']
  fruits.forEach(my_function)
    
  function my_function(item, index,array) {
  
  }
    
</script>
</body>
</html>

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.