結果 : js check if variable is string or object