Can someone explain the js syntax of for(;;) to me?

I’m reading the Unity documentation on using coroutines and I found this

function ProximityCheck() {
	for (int i = 0; i < enemies.Length; i++) {
		if (Vector3.Distance(transform.position, enemies*.transform.position) < dangerDistance) {*
  •  		return true;*
  •  }*
  • }*

  • return false;*

IEnumerator DoCheck() {

  • for(;:wink: {*
  •  ProximityCheck;*
  •  yield return new WaitForSeconds(.1f);*
  • }*
    After IEnumerator DoCheck() it says for(;:wink:
    What does that mean? I tried googling “javascript” + “for(;;)” + “syntax” and all I get is tutorials on loops and javascript syntax.
    So what does it mean to test for(;:wink: ?


is essentially an Infinite loop. The same as doing while(true), true will always be true so the loop will never end.

for(;:wink: is a for loop without an Initialiser, a Condition or an Increment.