mecanim scripting question

hi, I am a novice for the coding stuff ,previously just knew some basic C .

here I am trying to learn the new mecanim thing by following the opened tutorial .I patterned a part script from the video , it works but i can not understand it well .

first ,I created a animator object in unity and renamed it as myAnimator ,then I built 2 blendtrees and connected them using the customized variable “Jump” inside .
second , I assign myAnimator to my character rig in the scene using inspector window
third , i wrote down the script and attached it to my character too ,

#pragma strict
var mimiCtrl : Animator;

function Start () {
mimiCtrl=GetComponent(Animator);
}

function Update () {

 mimiCtrl.SetBool("JumpJump",Input.GetButton("Jump"));

}

it works , if i press space bar to trigger the “JumpJump” variable ,it can play another animation .

but here I need some people to explain me why there is nothing connected to “myAnimator” in this script .
in my mind the JumpJump variable created in myAnimator which is an Animator type object . so in this script , I think mimiCtrl= GetComponent(Anmator) should be mimiCtrl= Getcomponent(myAnimator) ,because i think it should get the variable setting from it ,if just Getcomponent from Animator , how can it get to control the JumpJump value ? but if i try it , unity will ask me where is the myAnimator variable come from … i dont know how to understand this . hope some body to teach me , thanks

i just realized that I misunderstand the meaning of " Animator" is different in GetComponent(Animator ) . it is actually a component under the current character rig . just same word as the structure type "Animator "