Here in the for loop, variable k receives the keys of object fruits ( 'apple', 'pear' ...). Then fruits[k] is used to access the value paired with the key k .
確定! 回上一頁