JavaScript 隨機從數組中取出幾個元素

代碼:html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> </body> <script> var items = ['1','4','9','10']; var item = items[Math.floor(
相關文章
相關標籤/搜索