結果 : check if type is string javascript