Javascript: Find the second longest substring from the given string Ex: I/p: Aabbbccgggg o/p: bbb : <p>Javascript:Find the second longest substring from given string(input and output example added in heading)</p>
