Run a fonction on every element of an array JS : I'm new to Javascript and I would like to run a function on every elements of an array.
To be more specific, in my code, i have an onclick function, and when i click on an element, I want 3 other elements to move. But, i only got 1 moving for each click.
    

        var intersects = raycaster.intersectObjects(reel);
        var intersects1 = raycaster.intersectObjects(rang1);
        var intersects2 = raycaster.intersectObjects(rang2);
        var intersects3 = raycaster.intersectObjects(rang3);
        var intersects4 = raycaster.intersectObjects(rang4);
        var inter1 = intersects1.join()
        console.log(intersects2)
        
        if (intersects.length > 0) {
            //console.log(intersects1)
            
            if (intersects[0].object.type === "Mesh") {
                var objinter = intersects1[0].object;
                //DEPLACEMENTS
                
                new TWEEN.Tween(intersects1[0].object.position).to({
                        x: objinter.userData.x0,
                        y: objinter.userData.y0,
                        z: objinter.userData.z0
                    }, 1000)
                    .easing(TWEEN.Easing.Elastic.Out).start();

        }
    };

Here is my code. And i wanted to know if it is possible to call every element of my array "intersects1" at once.

Thank you.