Can you help me extract the "attributes" array from this object and store it in a new variable?
obj = {
"_id": "5bf7e1be80c05307d06423c2",
"agentId": "awais",
"attributes": [ // that array.
{
"createdDate": "2018-11-23T11:17:18.771Z",
"_id": "5bf7e1be80c05307d06423c4",
"name": "Marketing",
"description": "Arabic Language Attribute",
"type": "Boolean",
"value": "true",
"usageCount": 0
},
{
"createdDate": "2018-11-23T11:17:18.770Z",
"_id": "5bf7e1be80c05307d06423c3",
"name": "English",
"description": "English Language Attribute",
"type": "Proficiency",
"value": "7",
"usageCount": 0
}
],
"__v": 0
}