Home »
MCQs »
MooTools MCQs
Which of the following function will obtain a random element from an array?
18. Which of the following function will obtain a random element from an array?
- Random()
- Any()
- getRandom()
- getAny()
Answer: C) getRandom()
Explanation:
getRandom() method will obtain a random element from an array.