title: Access the properties of a returned data using Nodejs
body: <p>I want to access the age property of a returned Object in Nodejs
  and also be able to filter through it.</p>
  <p><strong>The Returned Oject</strong></p>
  <pre><code>{&quot;data&quot;:&quot;key=IAfpK, age=58, key=WNVdi, age=64, key=jp9zt, age=47, key=0Sr4C, age=68, key=CGEqo, age=76, key=IxKVQ, age=79, key=eD221, age=29, key=XZbHV, age=32, key=k1SN5, age=88, key=4SCsU, age=65, key=q3kG6, age=33, key=MGQpf, age=13, key=Kj6xW, age=14, key=tg2VM, age=30, key=WSnCU, age=24, key=f1Vvz, age=46, key=dOS7A, age=72, key=tDojg, age=82, key=nZyJA, age=48, key=R8JTk, age=29, key=005Ot, age=66, key=HHROm, age=12, key=5yzG8, age=51, key=xMJ5D, age=38, key=TXtVu, age=82, key=Hz38B, age=84, key=WfObU, age=27, key=mmqYB, age=14, key=4Z3Ay, age=62, key=x3B0i, age=55, key=QCiQB, age=72, key=zGtmR, age=66, key=nlIN9, age=8, key=hKalB, age=50, key=Na33O, age=17, key=jMeXm, age=15, key=OO2Mc, age=32, key=hhowx, age=34, key=gLMJf, age=60, key=PblX6, age=66, key=8Vm5W, age=22, key=oZKd6, age=88, key=RXNfQ, age=
  {&quot;data&quot;:&quot;key=IAfpK, age=58, key=WNVdi, age=64, key=jp9zt, age=47, key=0Sr4C, age=68, key=CGEqo, age=76, key=IxKVQ, age=79, key=eD221, age=29, key=XZbHV, age=32, key=k1SN5, age=88 ...
  </code></pre>
  <p><strong>MY CODE</strong></p>
  <pre><code>const https = require('https');
  
  https.get('https://coderbyte.com/api/challenges/json/age-counting', (resp) =&gt; {
    let {statusCode} = resp
    let contentType = resp.headers['content-type']
    resp.setEncoding('utf-8')
    let data = '';
  
    // parse json data here...
    resp.on('data', (d) =&gt; {
      data += d
      console.log(data)
    })
    resp.on(&quot;error&quot;, (e) =&gt; {
      console.log(&quot;error&quot;, e)
    })
  
    //console.log(resp);
  
  });
  </code></pre>
  <p>Please can anyone help with it??</p>