function goto($, str) {
    let index = $.text.indexOf("-->", $.pos);
    if (index === -1) {
        return false;
    }
    $.pos = index;
    return true;
}
function goto($, str) {
    let index = $.text.indexOf("-->", $.pos);
    if (index === -1) {
        return false;
    }
    $.pos = index;
    return true;
}
function goto ( $ , str ) { let index = $ . text . indexOf ( "-->" , $ . pos ) ; if ( index === - 1 ) { return false ; } $ . pos = index ; return true ; }
(object, string) => boolean
( object string ) = > boolean