Unityscript does not have any way for passing parameters by reference.
If you must have By Ref arguments, C# supports them.
EDIT: Actually, on further investigation, there may be support for these. The built-in function Physics.Raycast() can be in the form
static function Raycast (origin : Vector3, direction : Vector3, out hitInfo : RaycastHit, distance : float = Mathf.Infinity, layerMask : int = kDefaultRaycastLayers) : boolean
Notice the ‘out hitInfo’ argument. This appears to be ByRef. I have no idea how this can be achieved in a custom function, but it does appear to be possible.
EDIT 2: Eric5h5 has kindly offered some clarification in the comments, I’ll sum it up here:
If you define your function in JS/US, it cannot utilise ByRef parameters. However, if your function is defined in C#, you can call it from JS/US with Out parameters that are ByRef.