Code "use strict"; function $(id) { return document.getElementById(id); } function addInit(func) { let onloadFunc = window.onload; if (typeof onloadFunc == "function") { window.onload = function() { if (onloadFunc) onloadFunc(); func(); }; } else { window.onload = func; } } function func1() { $('content').style.backgroundColor = "#ffff00"; } function func2() { $('content').style.color = "#ff0000"; } function func3() { $('content').style.fontSize = "24pt"; } function func4() { $('content').style.fontWeight = "bold"; } function func5() { $('content').style.textAlign = "center"; } addInit(func1); addInit(func2); addInit(func3); addInit(func4); addInit(func5);