ObjectScript allows to write methods which return a value but do not declare it, as in:

    Method m()
    {
        return 1
    }

While it is possible, it is not recommended; methods should always declare their return type, as in:

    Method m() As %Integer
    {
        return 1
    }