Design Studio takes advantage of JSON scripting notation. In this example, I looked at JSON syntax example for arrays.
In the example above I am setting the filter for two projects. Another tip shown in the above example is to *always comment* the first line of your script.
The review your work in the Design Studio application:
More to come as I am learning JavaScript.