test.html 里调用到2个js文件 a.js和b.js:
a.js 文件里有个
function test(){
console.log(1);
}
现在想在b.js里给 test function 增加一个
console.log(2);
目标要做到无论在哪里调用test()都要输出1和2,该怎么写啊
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
//
test();