Javascript – Return seems to be doesn't exit from function
Right now I'm solving some leetcode problems and I found a curious thing in my code for https://leetcode.com/problems/3sum/ but I don't understand how it really works. Problem of this code: Return in hasSimularArray doesn't exits from the function when hasSimularArray…