var myArray = ["Doug", "Laura", "Vera", "Gabriela"];
for (var i =0; i < myArray.length; i++)
{
     console.log("Hello, " + myArray[i]);
//looping through an array with a for each loop
not so common and it doesn't provide a lot of granularity during the construction
for (var element of myArray)
{ 
     console.log("Good bye, " + element);
}
  
Subscribe to:
Post Comments (Atom)
precipitous loss of value by the Argentine Peso
The sustained, precipitous loss of value by the Argentine Peso is not a single event but the predictable outcome of chronic, deeply rooted m...
- 
Summarization of hundreds of comments on Reddit. Ineffective Service: The users explicitly states, "Confirmed that it doesn't w...
- 
Based on a review of the provided Privacy Policy , here are some potential legal implications and issues that should be addressed: Scope a...
No comments:
Post a Comment