Object Component Toggling

I have an object called World which has TWO scripts

The first script is disabled at default and I want it to be enabled using the second script.

So this is what I’ve done in script 2:

function Start() {

var World = GameObject;
World.GetComponent(“Script1”).enabled = true;

}

Anything that I did wrongly??

It’s giving me an error
" Invalid Cast Exception :can not cast from source type to destination type"

Thanks for any help

try :
var World : GameObject = gameObject;