grazie, ma restituisce:

'Data' non e' definito... e poi perche' restituisce sempre valore 3 in
codice:
document.writeln(getRandom(3, 5));