This is an odd way to do it.  Use:

```javascript
if( listSupportedLang.length === 1 and listSupportedLang[0] === '*') {
```