Skip to content

Commit 7f2e73e

Browse files
authored
Update 275-h-index-ii.js
1 parent 1dc6e8b commit 7f2e73e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

275-h-index-ii.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const hIndex = function(citations) {
2222
* @return {number}
2323
*/
2424
const hIndex = function(citations) {
25-
let len = citations.length
25+
const len = citations.length
2626
let lo = 0,
2727
hi = len - 1
2828
while (lo <= hi) {

0 commit comments

Comments
 (0)