Skip to content
Advertisement

How to find keys from undefined schema [closed]

Suppose I have following array

JavaScript

Expected output

JavaScript

Wanted display questions data in a table format, which is not organised and has n number for options.

Advertisement

Answer

You can get all keys as follows

JavaScript
User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement