Javascript program to find subarray with sum closest to 0
class Prefix { constructor ( ) { this . sum = 0 ; this . index = 0 ; } } class Pair { constructor ( a , b ) { this . first = a ; this . second = b ; } }