In a self-executing function.

Execution cannot execute the previous function TODO: print(main());

```
var main = function()
    {
        for(var i = 0; i < 10; ++i)
        {
            if(i % 2)
            {
                print("Hello from JS with ext! 1");
            }
            else
            {
                print("Hello from JS with ext! 2");
            }
        }
        return "???????";
    }

    (function ()
    {
        var x = "Hello World";
        print(x);
        print(main());
    }
    )();
```

Script function cannot be executed
This is a GitHub Issue
repo:jerryscript
owner:jerryscript-project
Title : Script function cannot be executed
Issue date:

--- start body ---
In a self-executing function.

Execution cannot execute the previous function TODO: print(main());

```
var main = function()
    {
        for(var i = 0; i < 10; ++i)
        {
            if(i % 2)
            {
                print("Hello from JS with ext! 1");
            }
            else
            {
                print("Hello from JS with ext! 2");
            }
        }
        return "???????";
    }

    (function ()
    {
        var x = "Hello World";
        print(x);
        print(main());
    }
    )();
```

--- end body ---

None