Skip to content

Instantly share code, notes, and snippets.

@pallavagarwal07
Created September 1, 2016 21:25
Show Gist options
  • Save pallavagarwal07/2ab05e66c5f74acca7872c2f2bcc670e to your computer and use it in GitHub Desktop.
Save pallavagarwal07/2ab05e66c5f74acca7872c2f2bcc670e to your computer and use it in GitHub Desktop.
{
{
name: "Pallav",
age: 19
},
{
name: "Kunal",
age: 20
},
{
name: "Saksham",
age: 20
},
{
name: "Vinayak",
age: 20
}
}
would create a table like this:
--------------
name | age|
--------------
pallav | 19 |
kunal | 20 |
saksham | 20 |
vinayak | 20 |
--------------
(The table has to be HTML code, the above diagram is for representation purposes only)
@adarshaj
Copy link

adarshaj commented Sep 2, 2016

Shouldn't the outer most brackets be [] and not {} ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment