Question from the Javascript - Fundamentals test

Print the number of countries in the array travel.

Medium

What does the following code display?

    const travel = ["guadeloupe", "brazil", "suriname"]; 
    let airplane = 1;
    for (var i =0; i <travel.length; i++) 
    {        
        airplane ++;
    }
    console.log(i);
Author: Vincent CotroStatus: Published(Update)Question passed 3184 times
Edit
6
Community EvaluationsNo one has reviewed this question yet, be the first!