这个函数应该输出带逗号的随机字符,但是没有输出
<p id="demo">Click the button to display a random number.</p>
<button onclick="myFunction()">Submit</button>
<script>
function myFunction()
{
var random_list = randomizeList([1,2,3,4,49,'foo',38,'bar',9,-1]);
var n=random_list.split(" ");
document.getElementById("demo").innerHTML=n;
}
</script>