r/javascript • • Dec 16 '18

Coming from Python to JS NSFW

const print = console.log

I found my safe space.

607 Upvotes

156 comments sorted by

View all comments

3

u/[deleted] Dec 17 '18

If you forget this line and just print('something') it opens the printer dialog. I sometimes do this by accident after coding in Python for hours and it's funny.