用js输出到网页中,如何实现?window.onload = function(){var str = 'abcdefg',i=0,arr=str.split('')setInterval(function(){if(i&2023-04-28JavaScript280