jeudi 19 novembre 2020

How can I random sort an array in javascript?

Hello how can I sort random an array in javascript?

I have tried this array.sort(function(a, b){return Math.random()}); but he doesnt work




Aucun commentaire:

Enregistrer un commentaire