title: How to interpret the number returned from statSync
body: <p>I want to get the file states of a specific .js file. so i used the below posted code. but the first log statement returned</p>
  
  <pre><code>33204
  
  while the second one returned:
  
  144
  </code></pre>
  
  <p><strong>Output</strong>: </p>
  
  <pre><code>Stats {
  dev: 2049,
  mode: 33204,
   nlink: 2,
   uid: 1000,
  }
  </code></pre>
  
  <p>but I want to interpret these number to know if the file is accessible for (read, write) or not</p>
  
  <p><strong>code</strong>:</p>
  
  <pre><code>const fs = require('fs');
  var mode = fs.statSync('../../var/opt/personal/guest/op/op_12201/data/persGuesOapDataFolder00/test0.js').mode;
  var writePermissions = mode &amp; 0x92; // 010010010
  
  console.log(mode);
  console.log(writePermissions);
  </code></pre>