create a javascript function and show it working that
This function accepts a list of items as input and creates a function that returns a randomly-chosen item. After choosing a random item, that same item will be always be returned, regardless of the functions input, with one exception. If the first input is the string 'rechoose', then a new random item will be chosen and therafter returned.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here