文件名称:javascript实现随机读取数组的方法
文件大小:21KB
文件格式:PDF
更新时间:2024-02-09 12:51:16
AS asc c
本文实例讲述了javascript实现随机读取数组的方法。分享给大家供大家参考。具体如下: function write_quote() { var quotes = [ 'no animals were harmed while making this page', 'made in ulm', 'this page was handmade', 'Get FireFox :-)' ]; var r = Math.round(Math.r