【文件属性】:
文件名称:javascript实现随机读取数组的方法
文件大小:21KB
文件格式:PDF
更新时间:2021-01-19 19:04:36
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