In this tutorial I will show you two ways that you can get the index when using
a for-of loop.
Let's start with the data that I will be using:
const shoppingList = [
Option 1: .keys()
The first and easiest way to get the index with a