結果 : how to check if object is string in javascript