We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
<!doctype html> <html> <head> <meta charset="utf-8"> <title>随机数组</title> <script> var arr = [12,23,43,5,6,7,9]; arr.sort(function(){ return Math.random() -0.5; }) document.write(arr); </script> </head> <body> </body> </html>