map () as an Alternative. ES6 also introduced the .map() method, which is better suited to render components based on a list. Like .forEach ...
確定! 回上一頁