JS solution is not correct


#1

JS solution is not correct.
example: “*cccbbb”, “*bbb”