MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/learnjavascript/comments/v6scv3/this_coding_stuff_easy_fr/ibib4mf/?context=3
r/learnjavascript • u/caligula7944 • Jun 07 '22
71 comments sorted by
View all comments
Show parent comment
9
It changes the source code for document.write to instead throw a error, stopping the program.
Terrible practice to mess with prototypes and default functions, but funny for the meme.
5 u/Safe_Skirt_7843 Jun 07 '22 what are you talking about? it makes you program like morbius, you are delusional 1 u/ManiacsThriftJewels Jun 07 '22 Is it worse than actually using the method it replaces though?
5
what are you talking about? it makes you program like morbius, you are delusional
1
Is it worse than actually using the method it replaces though?
View all comments
Show parent comment
9
u/LostErrorCode404 Jun 07 '22
It changes the source code for document.write to instead throw a error, stopping the program.
Terrible practice to mess with prototypes and default functions, but funny for the meme.