Javascript self-identification from MonoBehaviour reference

In Javascript, given the following variable:

var otherScript : MonoBehaviour;

I’m looking precisely and only for a way to get the actual class name (script name) of that MonoBehaviour instance. Thanks for any help.

otherScript.GetType()