r/tinycode • • Nov 02 '21

A small Javascript Game i had made

5 Upvotes

4 comments sorted by

View all comments

Show parent comment

2

u/JohnLocksTheKey Jan 30 '22

var ha = document.getElementById("mainButton");

for (i=0;i<500;i++){
ha.click();

console.log("ha!");
}