var description = ""; for (var i in order) { var property = order[i]; description += i + " = " + property + "\n"; } alert(description);