Skip to content

Commit e49257f

Browse files
authored
Update 15-3sum.js
1 parent 4a3c699 commit e49257f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

15-3sum.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @return {number[][]}
44
*/
55
const threeSum = function (nums) {
6-
nums = nums.sort((a, b) => a - b)
6+
nums.sort((a, b) => a - b)
77
const res = []
88
let lo, hi, sum
99
for (let i = 0; i < nums.length - 2; i++) {

0 commit comments

Comments
 (0)