I\'m finding this a strange place to be at a bit of a loss, but if I cant\' do this:
koObserv(koObserv() + 1);
and a method is not provided, am
you could abstract these logic into an extend observable
ko.observable.fn.increment = function (value) {
this(this() + (value || 1));
};
var counter = ko.observable(0);
console.log(counter()); // 0
counter.increment();
console.log(counter()); // 1
counter.increment();
console.log(counter()); // 2
counter.increment(5);
console.log(counter()); // 7