In the above example, we add the new property height to the person object using the dot notation . i.e. person.height = 5.4; . Example 2: Add Key/Value Pair to ...
確定! 回上一頁