Skip to content

Commit bf0a7d4

Browse files
save file
1 parent 484343d commit bf0a7d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utils/editors/js-console/html/output-console/v2.0/output-console-v2.0.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@
163163
}//wrap
164164

165165

166-
obj.run = async function(js,params){
166+
obj.run = async function(js,params={}){
167167
console.log('run');
168168
var sandbox = (()=>{
169169

@@ -213,7 +213,7 @@
213213
}//run
214214

215215

216-
obj.run.iframe = async function(js,params){
216+
obj.run.iframe = async function(js,params={}){
217217
console.log('run.iframe');
218218
var resolve,promise=new Promise(res=>resolve=res);
219219

0 commit comments

Comments
 (0)