implement for-of with spider's for-in