What happens when tabs.executeScript() is run without parameters?

The documentation at on tabs.executeScript shows that all the parameters to the function are optional, so what happens when it is run without any parameters at all?

While all params are optional, you need to pass either code or file. Else it will throw with an error telling you just that. It will also give you an error if you pass both.