forEach

The values in the groceries array are defined in the JavaScript code and then displayed within a div in the HTML: