La funzione di cui sopra converte la stringa `007` nell'intero `7`. Se il primo carattere della stringa non può essere convertito in un numero, restituisce `NaN`.
# --instructions--
Usa `parseInt()` nella funzione `convertToInteger` in modo che converta la serie `str` in un intero e la restituisca.
# --hints--
`convertToInteger` dovrebbe utilizzare la funzione `parseInt()`
```js
assert(/parseInt/g.test(code));
```
`convertToInteger("56")` dovrebbe restituire un numero