[Solved] If any user with some free time can help me with my array loop [closed]


Come on… at least post some seemingly valid code… with an actual question.

function changeImage(image)
{
    var patharray = image.src.split("https://stackoverflow.com/");
    var name = patharray[patharray.length -1];
    if (name == "FlyingHigh.png") {
        ...
    }
}

solved If any user with some free time can help me with my array loop [closed]