global context - code that is in a script, but not in a function. there is only one global context in any page.
Function Context - code that is being run within a function has its own function context
eval context text is executed like coed in an internal function called eval()