NITYAM
Software Engineer @SentinelOne
Congrats bro... You surely did put in a great amount of work and here I am completely careless not given a single interview and never trying to push myself just wasting my time into thinking about unnecessary things. I also have been a full stack developer but unlike you never push myself to make think work for myself. Got some motivation from you going to put some effort and I need your advice I have DM you on Twitter if you can help me out I would really appreciate
Hey Sai, I look into your solution for problem-solving. I have a doubt
on 1st Ques you use Object.hasOwnProperty.call(result,key) for condition
if(Object.hasOwnProperty.call(result, key)){ result[key] = result[key] + obj[key] }else{ result[key] = obj[key] } }but result.hasOwnProperty also work
if(result.hasOwnProperty(key)){ result[key] = result[key] + obj[key] }else{ result[key] = obj[key] } }Is there any difference in using one then another