... in this section showed how to add a closure to the map algorithm inline. ... with the guests array: guests.map(greetGuest) guests.map(sayGoodbye) ...
確定! 回上一頁