window.onload = function() { init(); doSomethingElse(); };. Copy. onload test // ES5 function load() { console.log("load event detected!
確定! 回上一頁