Home »
MCQs »
Lodash MCQs
The ____ method is used to shuffle a collection
16. The ____ method is used to shuffle a collection.
- _.reaarange()
- _.rotate()
- _.mix()
- _.shuffle()
Answer: D) _.shuffle()
Explanation:
The _.shuffle() method is used to shuffle a collection.