Getting a JS class to instantiate a prefab

I tried using Instantiate() in the method definition of one of my classes. It says it doesn’t recognize it. What is the proper way to instantiate a game object from within a user defined class?

Instantiate( anObject, optionalPosition, optionalRotation )