Setting up an array in the parameters of a function
just wanting to set up an array through my parameters. Check out this  pseudocode bellow to see what I'm trying to do:

    function someFunction(x = new Array()){
     for (a in x){
      some action with x[a];
     }
    }
    
    someFunction([value a, value b, value c]);

So I'm trying to do something that may work similar to this. Thanks in advance guys!
Setting up an array in the parameters of a function
===

just wanting to set up an array through my parameters. Check out this  pseudocode bellow to see what I'm trying to do:

    function someFunction(x = new Array()){
     for (a in x){
      some action with x[a];
     }
    }
    
    someFunction([value a, value b, value c]);

So I'm trying to do something that may work similar to this. Thanks in advance guys!