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

2

u/Ncell50 Dec 17 '18

Stupid me always wrapped console.log inside a new print function