Stopping audio in JavaScript

Why doesn’t this one work (this one is in the documentation):
FMOD_STUDIO_STOP_IMMEDIATE

And this one does?
FMOD.STUDIO_STOP_IMMEDIATE

example (it works now the way it should for me):
CHECK_RESULT(gEventInstance2.stop(FMOD.STUDIO_STOP_IMMEDIATE))