КОМЕНТАРІ •

  • @ankitchiidrawar708
    @ankitchiidrawar708 День тому

    Which website you said sir?

    • @uidevguide
      @uidevguide 4 години тому

      Hey,
      Can you please give me a context
      I have taken this interview last month I forgot some points,
      I can try to share with you .
      You can DM as well thats fine

  • @Pritish1603
    @Pritish1603 День тому

    let keys = []
    function getKeys(obj) {
    for (key in obj) {
    if (typeof obj[key] == "object") {
    keys.push(key)
    getKeys(obj[key])
    } else {
    keys.push(key)
    }
    }
    }
    getKeys(nestedObj)
    console.log(keys)
    Try this ....

    • @uidevguide
      @uidevguide 16 годин тому

      👏🏻👏🏻 Pritesh,
      What about values