Trying to iterate array of objects using es6 as it is very new for me
here is my array of objects
[j]
0: j
$extCollectionIndex: 0
data: {ID: "b7f7ce8b-1455-41b3-ac26-b54916f6718f", userId: "444441", userName: "cjtest.1", email: "cjtest@gmail.com", …}
need to return or console username
I just tried(map and find )
let obj = records.map(obj => {return obj.data});
console.log(obj)//[object,object]
can any one help me on this