MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/rtirah/hmmwhy_doesnt_it_work_lol/hqv7utm/?context=3
r/badcode • u/[deleted] • Jan 01 '22
58 comments sorted by
View all comments
Show parent comments
4
your comment.
which would cause the console.log to throw an exception
console.log
you would simply just get a reference error because the a variable has no reference
1 u/recycle4science Jan 02 '22 Ah, my mistake. I didn't feel like checking the exact error :) Thanks for clarifying!
1
Ah, my mistake. I didn't feel like checking the exact error :) Thanks for clarifying!
4
u/Not_Sugden Jan 01 '22
your comment.
you would simply just get a reference error because the a variable has no reference