結果 : javascript check if object matches interface