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

Show parent comments

0

u/[deleted] Dec 17 '18

[deleted]

26

u/placidified Dec 17 '18

console.log(error) // eslint-disable-line no-console

cries in legacy code

3

u/Morphray Dec 17 '18

You forgot eslint-disable-line semi also

2

u/Anaphase Dec 17 '18

nah, that's in the base rules #fucksemicolons