add translation. (#27583)

* add translation.

* fix: change c++ to cpp
This commit is contained in:
Arturo Perez
2019-08-12 09:39:53 -07:00
committed by Randell Dawson
parent 48ed1ecbd1
commit 80d63bd169

View File

@ -93,7 +93,7 @@ function binarySearch(arr, item, low, high) {
return null;
}
// Find the middle of the array.
// Encuentra el centro de la matriz.
var mid = Math.ceil((low + high) / 2);
if (arr[mid] === item) { // Found the item!