function Diaporama( cible,tableau,repertoire,duree){ this.cible=cible; this.Tableau=tableau; this.repertoir_image=repertoire; this.temp=Math.floor(Math.random() * (1500 - 800 + 1) + 800); var rand=Math.random() rand=Math.floor(rand*(tableau.length-1)) this.tbmage=rand; this.diap(); }
this.temp=Math.floor(Math.random() * (1500 - 800 + 1) + 800);