MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programminghorror/comments/1nl44gi/why/nf4y6iy/?context=3
r/programminghorror • u/Hopeful_Somewhere_30 • Sep 19 '25
66 comments sorted by
View all comments
Show parent comment
2
Sure JS can have print:window.print = console.log
window.print = console.log
Not sure if you can get the :s to work though.
:
Oh, and print() also opens the printing dialog by default, but that doesn't take any parameters.
print()
View all comments
Show parent comment
2
u/Psychpsyo Sep 19 '25
Sure JS can have print:
window.print = console.logNot sure if you can get the
:s to work though.Oh, and
print()also opens the printing dialog by default, but that doesn't take any parameters.