結果 : how to check variable is string or object in javascript