I am so confused by ko.computed. not sure when to use it. I have 2 statements. Can you please explain to me whats the difference and when to use them ?
self.fullName = ko.computed(function() {
return self.firstName() + " " + self.lastName();
});
self.fullName = function() {
return self.firstName() + " " + self.lastName();
};