let ceoOfMNCs = ["Elon Musk", "Tim Cook", "Sundar Pichai", "Satya Nadella"];
for (let ceo of ceoOfMNCs){
console.log(ceo);
}
Created
August 21, 2022 04:41
-
-
Save scriptkkiddie/79915c67d5b6ca50b8f9ea3293719e0e to your computer and use it in GitHub Desktop.
Iterate Elements from an Array in JavaScript
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment