結果 : javascript check if string or object