結果 : replace n from string javascript