Question: when using for...in to iterate through the properties in an object, what values are passed into the block in each iteration? a- both key and
when using "for...in" to iterate through the properties in an object, what values are passed into the block in each iteration?
a- both key and value
b- the value only
c-i dont know
d-the key only
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
