title: Do you need to use path.join in node.js?
body: <p>as everyone knows Windows does paths with backslashes where Unix does paths with forward slashes. node.js provides <a href="https://nodejs.org/api/path.html" rel="noreferrer"><code>path.join()</code></a> to always use the correct slash. So for example instead of writing the Unix only <code>'a/b/c'</code> you would do <code>path.join('a','b','c')</code> instead.</p>
  
  <p>However, it seems that despite this difference if you do not normalize your paths (e.g. using path.join) and just write paths like <code>a/b/c</code> node.js has no problem with running your scripts on Windows.</p>
  
  <p>So is there any benefit over writing <code>path.join('a','b','c')</code> over <code>'a/b/c'</code>? Both appear to work regardless of platform...</p>