sto cercando di ottenere il valore [0] di una select

cosi va in errore

document.getElementById('test01').options.selected Index[0].value