Hacker News new | ask | show | jobs
by rv77ax 3253 days ago
I bet the author use space instead of tab.
1 comments

If you write JavaScript and don't use two spaces for indentation you're being intentionally obtuse.
What why?
Because you don't exist in a vacuum and two spaces is the most popular form of indentation in the ecosystem.

But these days I recommend using an intelligent autoformatter like `prettier` when writing JS exactly to avoid any such discussions.