We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1dc6e8b commit 7f2e73eCopy full SHA for 7f2e73e
275-h-index-ii.js
@@ -22,7 +22,7 @@ const hIndex = function(citations) {
22
* @return {number}
23
*/
24
const hIndex = function(citations) {
25
- let len = citations.length
+ const len = citations.length
26
let lo = 0,
27
hi = len - 1
28
while (lo <= hi) {
0 commit comments