Exercise on the for-of loop

We will use the for-of loop to search through data and obtain our desired values.

Exercise 1:

Open the developer tools on any website. Locate the first character of all headings, and log the concatenation of the first characters.

Get hands-on with 1400+ tech skills courses.