I tried to keep it simple to get the idea but now I realize perhaps mine is a little more complicated.
this for loop runs:
for (var j = 0; j < _USERS.length; j++){
console.log(_USERS[j].useruid);
}
gives me:
BLRlXKIeWkanHiSCXbBCFRTIaqk1
CMMpvodHJAYdR4RvI5RxZtJ8llW2
sF4gWbZvAMPmrbeHsKzln7LowOx2
xcBZNxuAahWY6kXe7S3ZJgpDbPm1
this for loop runs:
for (var i = 0; i < promises.length; i++){
console.log(promises[i][0].likedUseruid);
}
gives me:
xcBZNxuAahWY6kXe7S3ZJgpDbPm1
how do I then removes ^^^^ from the first array so it reads:
BLRlXKIeWkanHiSCXbBCFRTIaqk1
CMMpvodHJAYdR4RvI5RxZtJ8llW2
sF4gWbZvAMPmrbeHsKzln7LowOx2
without the one ending Pm1
being there?
These are all objects rather than elements as well