We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84b480e commit 75a9df6Copy full SHA for 75a9df6
src/_Problems_/3Sum/3sum.js
@@ -1,4 +1,4 @@
1
-var threeSum = function(nums) {
+const threeSum = function(nums) {
2
// sort the array
3
nums = nums.sort((a, b) => a - b);
4
0 commit comments