foreach error in javascript

Hello im trying to convert this c# code into javascript so i can change it with other javascripts. But i get errors, i’ve fixed the most things but now i really need help. Thanks.

the error is on row 30.

public function Explode (explosionPoint : Vector3)
{
	hitColliders = Physics.OverlapSphere (explosionPoint, blastRadius, explosionLayers);

    //Here is were i get errors
	foreach (hitCol : Collider in hitColliders)
	{
		hitCol.GetComponent(Rigidbody).isKinematic = false;
		hitCol.GetComponent(Rigidbody).AddExplosionForce(explosionPower, explosionPoint, blastRadius, 1, ForceMode.Impulse);
		Instantiate (ExplosionPrefab, transform.position, transform.rotation);
		DestroyWall();
	}
}

This should fix the error.

public function Explode (explosionPoint : Vector3)
 {
     hitColliders = Physics.OverlapSphere (explosionPoint, blastRadius, explosionLayers);
     // Fixed
     foreach (Collider hitcol : hitColliders)
     {
         hitCol.GetComponent(Rigidbody).isKinematic = false;
         hitCol.GetComponent(Rigidbody).AddExplosionForce(explosionPower, explosionPoint, blastRadius, 1, ForceMode.Impulse);
         Instantiate (ExplosionPrefab, transform.position, transform.rotation);
         DestroyWall();
     }
 }

try this :

 public function Explode (explosionPoint : Vector3)
 {
     hitColliders = Physics.OverlapSphere (explosionPoint, blastRadius, explosionLayers);
     //Here is were i get errors
     foreach (hitCol : Collider in hitColliders)
     {
         hitCol.gameObject.GetComponent(Rigidbody).isKinematic = false;
         hitCol.gameObject.GetComponent(Rigidbody).AddExplosionForce(explosionPower, explosionPoint, blastRadius, 1, ForceMode.Impulse);
         Instantiate (ExplosionPrefab, transform.position, transform.rotation);
         DestroyWall();
     }
 }

i assume that hitCollider as declared and is an array, if not then do it like this

Collider[] hitColliders = Physics.OverlapSphere (explosionPoint, blastRadius, explosionLayers);