如何让页面重新加载 JavaScript

重新加载页面的 JavaScript 方法有多种:使用window.location.reload()、利用动态创建