結果 : check if type of variable is string javascript