Javascript comparing two datasets : I have to datasets and i would like to return true is the same Id exists in both the datasets.

I tried implementing it using the ES6 feature "some" but could not get it to work.


    let found = dataLog.some(dataLog=> dataLog.includes(dataLog2))

    dataLog:{
    0: {id: 12489, addedOn: "2019-02-04T15:19:54}
    1: {id: 12489, addedOn: "2019-02-04T15:19:54}
    2: {id: 12489, addedOn: "2019-02-04T15:19:54}
    3: {id: 12489, addedOn: "2019-02-04T15:19:54}
    4: {id: 12489, addedOn: "2019-02-04T15:19:54}
    5: {id: 12489, addedOn: "2019-02-04T15:19:54}
    }
    
    
    dataLog2:{
    0: {id: 12489, addedOn: "2019-02-04T15:19:54}
    0: {id: 15000, addedOn: "2019-02-04T15:19:54}
    0: {id: 15100, addedOn: "2019-02-04T15:19:54}
    0: {id: 15200, addedOn: "2019-02-04T15:19:54}
    0: {id: 15300, addedOn: "2019-02-04T15:19:54}
    0: {id: 15400, addedOn: "2019-02-04T15:19:54}
    }

Thanks.