Why "Component.active = false" is not existing?

To dynamicaly deactivate components like scripts from a game object instead of complet deactivate the whole game object, could bring more flexibility in programming complex stuff with interaction between game objects.
Has some one an idea of a workaround to deactivate a component or scripts from out another script via java script?

Many components have an enabled property for this purpose. Scripts are among them.