結果 : javascript check if string has trailing whitespace