When I type this sololearn crashes | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 2

When I type this sololearn crashes

Every time I type this code "window.onload = alert('You are a beta te" it crashes in cookie clicker beta. Also when I make a new line at the beginning it crashes too.

3rd Feb 2017, 1:40 PM
koder
koder  - avatar
1 ответ
+ 4
You have to write following: window.onload = function () { alert("You are a beta te"); }
12th Feb 2017, 8:54 PM
Patrick G.
Patrick G. - avatar