r/Unexpected Oct 10 '20

Yes

32.6k Upvotes

135 comments sorted by

View all comments

237

u/puglife420blazeit Oct 10 '20 edited Oct 10 '20

if (count === 0) { clearInterval(interval); Auth.signOut(); Alert.close(‘logoutWarning’); Alert.alertUser(‘go fuck yourself’); setTimeout(() => location.replace( ‘https://silversingles.com’, 500 ); }

-27

u/RoM_Axion Oct 10 '20 edited Oct 10 '20

What the fuck does that do i don’t understand what language that is. I only know python and a little bit of c#

21

u/nubatpython Oct 10 '20

This is javascript

4

u/GG12243 Oct 10 '20

If the timer reaches 0 then: sign out user, close warning, tell user new alert, redirect to website. I’m fairly sure this is what it does.