function findNumber(list, value){ var searchCnt = 0; var bTree = function(list, value){ // Step. 탐색 횟수 체크 console.log("탐색 중"); // Step. 목록 이 0개 또는 지정되지 않은 경우 -1 리턴 if(list == null || list.length == 0) return -1; // Step. 중간값 조회 var nIdx = Math.floor(list.length / 2); // 현재 검색할 Index var nValue = list[nIdx]; // 현재 값 // console.log(nIdx); // console.log(nValue); // console.log(list); if(nValue == ..