Currently the for-in loop is only supported for arrays. When working with storage, it is likely that a developer acquires a reference to an array.