applying a value to all items in an array[]

I have two seperate arrays of wheelcolliders that i would like to apply a mass of 3.0 to each item I would like to do this at function Start() if it is possible.

P.S.I am using UnityJavaScript Thank you for any aid in this subject.

Untested code as I don't have Unity with me but something like this should work:

function LoopThroughWheelColliders() {
wheelColliders = FindObjectsOfType(WheelCollider);
for (var wheelCol : WheelCollider in wheelColliders) {
wheelCol.mass = 3.0;
}
}