結果 : check if type string javascript