Shouldn't `[classnames*]` be rewritten as `[classnames]*` since it is optional?

Looking at the code the function expects any numbers of strings:

```javascript
getClassName('foo','bar','baz')
```

as opposed to any numbers of arrays of strings:

```javascript
getClassName(['foo','bar'],['baz'])
```

or does the method 'flatten out' the parameters beforehand?