suppression de code inutileServeurDeTest
parent
8e0aa56a0f
commit
5060edffd1
@ -0,0 +1,13 @@
|
||||
//~ Function that test the user code
|
||||
|
||||
async function submit(){
|
||||
var test = editor.getValue()+`\n
|
||||
ba
|
||||
R
|
||||
`;
|
||||
exec("print ('True')", "code");
|
||||
exec(test, "solution");
|
||||
result.innerHTML = "Test en cours...";
|
||||
await new Promise(r => setTimeout(r, 1500));
|
||||
check();
|
||||
}
|
Loading…
Reference in new issue