Archived
What does the following code display?
const travel = ["guadeloupe", "brazil", "suriname"];
let airplane = 1;
for (var i =0; i <voyage.length; i++)
{
airplane ++;
}
console.log(i);
-4
Community EvaluationsNo one has reviewed this question yet, be the first!
7
What can be said about ECMAScript?31
Write a JavaScript function that fetches data from an API and logs it to the console.6
Print the number of countries in the array travel.9
Use spread operator to split an array into two arrays in Javascript69
Understanding the differences between `map()` and `forEach()` methods in JavaScript21
Fix the following Javascript loop:10
The certificate variable is not attainable outside the if loop