Skip to content

Clean up the printlaggylag.js farmland #9

@JavascriptCoder999

Description

@JavascriptCoder999

if($this.scene.state()=="PLAY"){
window.alert("press space to crash your computer temporarily");
document.alert("also press the why key to stop");
if(isKeyPressed(Keys.space)){
while(true){
print("dummy text");
}
}
if(isKeyPressed(Keys.y)){
$this.stopCode();
}
}
THIS IS NOT RIGHT

  • the closing curly brackets are worng
  • these statements should not be nested

i tested it in a weak compiler for javascript and it said

"document.alert is not a function"
maybe it is too weak for the glitch
please give answers

Metadata

Metadata

Labels

help wantedExtra attention is needed

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions