Is there any reason not to use the one-liner below? (naive question)
```javascript
input.value = AUTH_TYPES[item.authtype] || 'notDefined'; 
```