title: Basic JavaScript string equality failing in Gulp
body: <p>I have this gulp task</p>
  
  <pre><code>gulp.src([`../../**/*.js`].concat(dontCheck.map(p =&gt; '!../../' + p)))
      .pipe(gulpPrint(path =&gt; {
          let adjusted = path.replace('..\\..\\', '').replace(/\\/g, '/');
  
          let target = 'account/account.js';
          if (adjusted == target){
              console.log('FOUND');
          } else {
              console.log('NOT FOUND', '|' + target + '|', '|' + adjusted + '|', String(target) == String(adjusted), typeof target, typeof adjusted);
          }
  </code></pre>
  
  <p>And I'm getting this maddening output</p>
  
  <p><a href="https://i.stack.imgur.com/tZ0vz.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tZ0vz.jpg" alt="enter image description here"></a></p>
  
  <p>Why aren't those strings matching?  Does <code>adjusted</code> have a different unicode encoding?  If so how do I reconcile it? </p>