var myArray = ( "Apples", "Bananas", "Pears" ); var randomItem = myArray(Math.floor(Math.random()*myArray.length));
Prezrite si pero gLJPZv od Chrisa Coyiera (@chriscoyier) na stránkach CodePen.
var myArray = ( "Apples", "Bananas", "Pears" ); var randomItem = myArray(Math.floor(Math.random()*myArray.length));
Prezrite si pero gLJPZv od Chrisa Coyiera (@chriscoyier) na stránkach CodePen.