結果 : object is empty or not in javascript