I am not exactly sure what you were expecting this to do, but it prints out undefined for me. Why? Because there is no object inside learningThisWeek that has the name field set to 'Mosh' (there is an object with the learningThrough field set to 'Mosh', but there is only one object with a name field and it is set to 'ayub'.
In your code, you set learningthisWeek array name value as ayub:
const learning = learningthisWeek.find(function(learning) {
learning.name === 'Mosh' // Undefine
learning.learningThrough === 'Mosh' // will return your data
learning.name === 'auyb' // will return your data
});