public/javascripts/yui/carousel/carousel-debug.js
function () {
            var carousel = this;
            return carousel.get("currentPage") + 1 == carousel.get("numPages") ?
                   carousel.get("numItems") - 1:
                   carousel.get("firstVisible") + carousel.get("numVisible") - 1;
        }
function () {
            var carousel = this;
            return carousel.get("currentPage") + 1 == carousel.get("numPages") ?
                   carousel.get("numItems") - 1:
                   carousel.get("firstVisible") + carousel.get("numVisible") - 1;
        }
function ( ) { var carousel = this ; return carousel . get ( "currentPage" ) + 1 == carousel . get ( "numPages" ) ? carousel . get ( "numItems" ) - 1 : carousel . get ( "firstVisible" ) + carousel . get ( "numVisible" ) - 1 ; }
Get the index of the last visible item

@method _getLastVisible
@protected
Get the index of the last visible item