So i’ve been trying to solve why Is test console log(0,1,2,3,4,5,6,7,8,…)
in this code
`console.log(‘get game from dynamodb=’ +testing +test);
get game from dynamodb={"UserName":["Kevin"]}0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21
`
where
Data: {
S: JSON.stringify(this.data); // in where amazon Dynamo DB it's "UserName": ["Kevin"]
}
and
test = Object.keys(data.Item.Data.S)// I was expecting "UserName" so I can get "Kevin" here"...
but
test =[0,1,2,3,4,5,6,7.....]