How to calculate sum by comparing key value with two object in javascript?
I have below two objects and i need to compare values object with points object based on the given answer like ‘Q1A1’ or ‘Q2A1’ and once key match in both object then it should return the sum of their respective answers. const values = { Q1: { Q1A1: "Yes", }, Q2: { Q2A1: "Yes", },… Read More How to calculate sum by comparing key value with two object in javascript?