Use the number as the map key. Goal: Save the index under the number itself because later lookups search by number.
Maps only work when you store values under the key you later search for.
The lookup asks for a number, not for a loop index.
Drag tokens into the blanks
1// Goal: Save the index under the number itself because later lookups search by number.2function starterExample() {3const indexByNumber = new Map();4const num = 8;5 indexByNumber.set(___, 0);6}