Approach 2: We can pass the old nested object using the spread operator ... Step 1: Create a React application using the following command:
確定! 回上一頁