restore ref is useless in for of

https://github.com/army8735/jsdc/commit/066db8557d43c5b4cdac658822854954
f5d58b8b