title: unable to get the value of decoded base64 data in node
body: <p>this value was encoded to base64</p>
  
  <pre><code>    {
       a: "008078888658936",
       b: "REA"
      }
  </code></pre>
  
  <p>and was decoded using this code</p>
  
  <pre><code>    var mytokenvalue = "ewphOiAiMDA4MDc4ODg4NjU4OTM2IiwKYjogIlJFQSIKfQ=="
      let decoded = Buffer.from(token, 'base64')
  </code></pre>
  
  <p>meanwhile, when I try to get the decoded value</p>
  
  <pre><code>console.log(decoded.a)
  </code></pre>
  
  <p>I am getting undefined in my console.
  Please help</p>