forRequest(urlfunction (errorresponsebody){
        body = JSON.parse(body);
        
        const videoInfo = {
            title : body.items[0].snippet.title,
            author : body.items[0].snippet.channelTitle,
            thumbnail : body.items[0].snippet.thumbnails.high.url
        }
    });
    console.log(videoInfo);




위처럼 forRequest 함수의 콜백함수에 videoInfo 라는 객체를 선언했는데 


이 객체를 함수 밖에서 사용하려면 어떻게 해야하나여??