search

Home  >  Q&A  >  body text

javascript - The value returned by the background is {865946021169972: false}, how to get this Boolean value

After performing an operation, the background will return an object {865946021169972: false}. How to get this Boolean value using js

代言代言2825 days ago890

reply all(2)I'll reply

  • 代言

    代言2017-06-26 10:56:27

    dataname['865946021169972'] can give it a try

    reply
    0
  • typecho

    typecho2017-06-26 10:56:27

    for (var key in obj) {
        console.log(obj[key]);
    }
    // or
    Object.keys(obj).forEach(function (key) {
        console.log(obj[key]);
    });

    reply
    0
  • Cancelreply