You probably want to use Array.prototype.map:
var hintList = amaList.map(function(item) {
//do something with item and return the wanted item
});
Array.prototype.forEach doesn't return anything.
Here's an exampe for using forEach:
amaList.forEach(function(item){
console.log(item);
});