📅  最后修改于: 2022-03-11 15:01:53.485000             🧑  作者: Mango
function display_numbers(...numbers) {
colors.forEach(function(x) {
console.log(x);
});
}
// call it like:
display_numbers(1)
display_numbers(1, 2, 3, 4)
display_numbers(1, -1, 9, 0, 2)