//@sourceURL=filename.js

在 console 中输入代码的最后一行加上 //@ sourceURL=filename.js, 会在 Scripts 面板中有个叫 filename.js 的文件, 然后他就和外部 js 文件一样了

 

function hello() {
  alert('say hi');
}
//@ sourceURL=hello.js
posted @   sexy_girl  阅读(477)  评论(0编辑  收藏  举报
努力加载评论中...
点击右上角即可分享
微信分享提示